Skip to content

Streams and files

Compare
Choose a tag to compare
@christophhagen christophhagen released this 08 Nov 13:25
· 60 commits to master since this release

This release adds support for new features:

Streams

New BinaryStreamEncoder and BinaryStreamDecoder classes to directly encode sequences of elements into a binary stream, which can be decoded continuously as new data becomes available.

File streams

Use BinaryFileEncoder and BinaryFileDecoder to sequentially encode elements to binary files, and read them back without keeping the whole file content in memory.

Sequences of optionals

Use the prependNilIndexSetForUnkeyedContainers option to change the encoding of sequences containing optional values (arrays, sets, ...).