Expand description
Blosc2 Rust bindings.
Modules§
blosc2_schunk
,blosc2_storage
, andChunk
APIs
Structs§
- Call blosc2 init/destroy around the lifetime of this struct.
- 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
- Free possible memory temporaries and thread resources. Use this when you are not going to use Blosc for a long while. A 0 if succeeds, in case of problems releasing the resources, it returns a negative number.
- 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 - Get a list of supported compressors in this build
- Return the max size a compressed buffer needs to be to hold
src
Type Aliases§
- Result type used in this library