small-bytearray-builder v0.3.0.0 Release Notes
Release Date: 2019-10-17 // over 4 years ago-
- ๐ฅ Breaking change: Change the internal implementation of
Builder
. This now works a lot more like the builder frombytestring
. It accumulates chunks and can do a zero-copy appends when working with a sufficiently large immutable chunk. This introduces a mild performance regression (around 10%), but it makes the libary more generally useful. - Introduce
consLengthBE32
andconsLength64BE
for efficient serialization of wire protocols that require prefixing a payload with its length. - โ Add
int{16,32,64}BE
andint{16,32,64LE}
as conveniences. - โ Add little-endian encoding functions for
Word16
,Word32
, andWord64
. - โ Add big-endian and little-endian functions for copying a
PrimArray
of numbers (both signed and unsigned) into a builder. - โ Add
flush
,copy
, andinsert
for better control when converting byte sequences to builders. - โ Add
shortByteString
to improve interoperability with thebytestring
library.
- ๐ฅ Breaking change: Change the internal implementation of