Crate oodle_safe

Source
Expand description

Minimal safe wrapper around oodle-sys.

This crate provides a minimal translation of the oodle-sys methods to Rust.

Check Oodle’s website for more information.

Structs§

CompressOptions
Options to use for compression.

Enums§

CheckCRC
Bool enum for the LZ decoder to check the CRC of the compressed data.
CompressionLevel
Set of compression levels.
Compressor
Set of compression algorithms.
DecodeThreadPhase
Thread phase for threaded decompression.
Jobify
Controls the amount of internal threading used by the compressor.
Profile
Decoder profile to target.
Verbosity
Verbosity level for LZ decompression.

Constants§

BLOCK_LEN
The number of raw bytes per seek chunk
FAILED
Return value of compress and decompress on failure
LOCALDICTIONARYSIZE_MAX
Maximum value of max_local_dictionary_size in CompressOptions

Functions§

compress
Compress some data from memory to memory synchronously.
decompress
Decompress some data from memory to memory synchronously.