Skip to content

Protobuf support

Compare
Choose a tag to compare
@christophhagen christophhagen released this 09 Jul 23:56
· 129 commits to master since this release

The first major release of the library provides increased compatibility with Protocol Buffers, and fixes a few errors.

Major changes:

  • Extracted Protocol Buffer functionality to new types ProtobufEncoder and ProtobufDecoder
  • Introduces new Errors ProtobufEncodingError and ProtobufDecodingError
  • Allow setting of custom userInfo for encoding and decoding.
  • Treat Int and Uint as 64-bit types during encoding.
  • Use Varint encoding for proto types by default
  • Introduce SignedInteger wrapper to enforce ZigZag encoding for protobuf types.
  • Add static one-shot encoding and decoding functions
  • More tests