Skip to content

v1.2.4

Latest
Compare
Choose a tag to compare
@tobozo tobozo released this 11 Jan 19:35
02d46e0

What's Changed

  • Added compression support with LZPacker::compress() by @tobozo in #79
    // buffer to stream (best compression)
    size_t LZPacker::compress( uint8_t* srcBuf, size_t srcBufLen, Stream* dstStream );
    // buffer to buffer (best compression)
    size_t LZPacker::compress( uint8_t* srcBuf, size_t srcBufLen, uint8_t** dstBufPtr );
    // stream to buffer (average compression)
    size_t LZPacker::compress( Stream* srcStream, size_t srcLen, uint8_t** dstBufPtr );
    // stream to stream (average compression)
    size_t LZPacker::compress( Stream* srcStream, size_t srcLen, Stream* dstStream );

Idea suggested by @infrafast 👍

Full Changelog: v1.2.3...v1.2.4