Protobuf support
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
andProtobufDecoder
- Introduces new Errors
ProtobufEncodingError
andProtobufDecodingError
- Allow setting of custom
userInfo
for encoding and decoding. - Treat
Int
andUint
as 64-bit types during encoding. - Use
Varint
encoding for proto types by default - Introduce
SignedInteger
wrapper to enforceZigZag
encoding for protobuf types. - Add static one-shot encoding and decoding functions
- More tests