Expand description
Blosc2 Rust bindings.
Modules§
blosc2_schunk
,blosc2_storage
, andChunk
APIs
Structs§
- Wrapper to blosc2_cparams.
Compression parameters. - Info about a compressed buffer Normal construction via
CompressedBufferInfo::try_from(&[u8])?
- Wrapper to blosc2_context.
Container struct for de/compression ops requiring context when used in multithreaded environments
Enums§
- Possible errors arising from Blosc2 library
- Possible CLevel settings
- Possible compression codecs
- Possible Filters
Constants§
- Default buffer size for intermediate de/compression results when required
Functions§
- Context interface to compression, does not require call to init/destroy. For use in multithreaded applications
- Call at end of using blosc2 library, unless you’ve never called
blosc2_init
- Get the version for a given Codec.
- Get the Blosc2 version string
- Retrieve a number of elements from a
Chunk
- Call before using blosc2, unless using specific ctx de/compression variants
- Get the number of elements
T
in the compressed chunk - Return the max size a compressed buffer needs to be to hold
src
Type Aliases§
- Result type used in this library