Crate aptos_compression
source · [−]Modules
This crate provides a simple library interface for data compression. It is useful for compressing large data chunks that are sent across the network (e.g., by state sync and consensus). Internally, it uses LZ4 in fast mode to compress the data. See https://github.com/10xGenomics/lz4-rs for more information.
Structs
An error type for capturing compression/decompression failures
Functions
Compresses the raw data stream
Decompresses the compressed data stream
Type Definitions
A useful wrapper for representing compressed data