tree: 525f870f3c08dde35bbf434d911cef6f1108a66b [path history] [tgz]
  1. protoc_plugin/
  2. test/
  3. BUILD.gn
  4. message.cc
  5. message_handle.cc
  6. message_handle_unittest.cc
  7. message_unittest.cc
  8. proto_utils.cc
  9. proto_utils_unittest.cc
  10. protozero_library.gni
  11. README.md
  12. scattered_stream_writer.cc
  13. scattered_stream_writer_unittest.cc
src/protozero/README.md

ProtoZero

ProtoZero is a zero-copy zero-malloc append-only protobuf library. It's designed to be fast and efficient at the cost of a reduced API surface for generated stubs. The main limitations consist of:

  • Append-only interface: no readbacks are possible from the stubs.
  • No runtime checks for duplicated or missing mandatory fields.
  • Mandatory ordering when writing of nested messages: once a nested message is started it must be completed before adding any fields to its parent.

See also: Design doc.