tree: ed409a64f214f4a19a7341c8c12e3996f99f6a02 [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.