[Feature] In memory LZ4Frame decompression
See original GitHub issueCould we have an API to encode/decode frame blocks directly to arrays/spans ?
something like this:
Byte[] lz4bytes = { ... };
int flattenedSize = LZ4Stream.GetFlattenedSize(lz4bytes);
bytes[] flattenedBytes = new Byte[flattenedSize];
LZ4Stream.Decode(lz4bytes,flattenedBytes);
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Quickstart — python-lz4 4.3.2 documentation
The decompress() function takes a full LZ4 frame, decompresses it (and optionally verifies the uncompressed data against the stored checksum), and returns the ......
Read more >python-lz4 Documentation
The decompress() function takes a full LZ4 frame, decompresses it (and optionally verifies the uncompressed data against the stored ...
Read more >LZ4 - Library Files
These helpers allow opening, reading, writing, and closing files using transparent LZ4 compression / decompression. As a consequence, using lz4file adds a ...
Read more >1.9.2 Manual
The LZ4 compression library provides in-memory compression and decompression functions. ... Exact metadata depends on exact decompression function.
Read more >Introducing 'lz4lite' - extremely fast compression with LZ4
Return a raw vector to the user containing the compressed bytes. Decompression. Strip off the header information; Feed the raw bytes in to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

1.3.0-beta has a lot of new streaming methods and some of them are very memory friendly, let’s say.
In version 1.0.2 you can now read content length (if compressed with content length).