commit | 4a63085a886242d4e41ab91fbff2ef27775defba | [log] [tgz] |
---|---|---|
author | David Symonds <dsymonds@golang.org> | Mon Nov 16 09:40:00 2015 +1100 |
committer | David Symonds <dsymonds@golang.org> | Mon Nov 16 10:03:39 2015 +1100 |
tree | ff3b3a7f9183443e05fcc983306dff35cf8cd9f1 | |
parent | 8cf720c393043e52c9da1e8c980e9bd4f89fa672 [diff] |
Add compressed file descriptor code generation. This is fairly undocumented for now, but should be sufficiently obvious for those wanting such an advanced feature anyway. The only non-obvious part is that the []int returned by Descriptor/EnumDescriptor describes the sequence of indexes used to navigate from the FileDescriptorProto to the relevant DescriptorProto/EnumDescriptorProto.