tree: 1c6a5d0ecf07cb5e1cda9d18b97658ab3d6a5501 [path history] [tgz]
  1. Makefile
  2. README.md
  3. __init__.py
  4. ext1.proto
  5. ext2.proto
  6. read_both.py
  7. read_ext1.py
  8. read_ext2.py
  9. read_generic.py
  10. write_ext1.py
  11. write_ext2.py
  12. write_generic.py
experiments/extensions/README.md

This is an experiment to work with Any type fields in protobuf and in Python. Run 'make' to see how a set of writers emit data with no or one of two extensions, while four readers try to decode the data. Depending on which of them pre-loads the extension protobufs, they can decode the extension data or leave it in the packed value format.