3 releases
0.1.2 | Oct 21, 2024 |
---|---|
0.1.1 | Sep 27, 2024 |
0.1.0 | Sep 26, 2024 |
#402 in Compression
220 downloads per month
11KB
271 lines
WIP! Do not use in production code!
This code compress xml file/files under a given path into the single BLOB that conforms with the requirements for the KZG BLOB described HERE.
It uses DEFLATE
compression algorithm. After compressing the file it cut received Vec<u8>
into 31 byte long chunks and append 0 or 1 at the beginning of each. It appends 1 if it's the last chunk in the processed file and 0 for all the other cases.
Dependencies
~7MB
~191K SLoC