Expand description
Safe, clean-room LZVN encoding and decoding primitives.
The crate currently provides safe Rust support for raw LZVN streams and
Apple wrappers such as bvxn and decmpfs, with no unsafe code.
Re-exports§
pub use raw::RawDecoder;pub use raw::RawEncoder;pub use apple::bvxn::BVXN_MAGIC;pub use apple::bvxn::BvxnDecoder;pub use apple::bvxn::BvxnEncoder;pub use apple::bvxn::BvxnHeader;pub use apple::bvxn::parse_header as parse_bvxn_header;pub use apple::fs::decmpfs::DECMPFS_CHUNK_SIZE;pub use apple::fs::decmpfs::DECMPFS_HEADER_LEN;pub use apple::fs::decmpfs::DECMPFS_MAGIC;pub use apple::fs::decmpfs::DECMPFS_MAX_XATTR_DATA_SIZE;pub use apple::fs::decmpfs::DECMPFS_MAX_XATTR_SIZE;pub use apple::fs::decmpfs::DecmpfsCompressionType;pub use apple::fs::decmpfs::DecmpfsHeader;pub use apple::fs::decmpfs::EncodedDecmpfs;pub use apple::fs::decmpfs::parse_header as parse_decmpfs_header;
Modules§
Structs§
- Stream
Progress - Progress information returned by an incremental encoder or decoder step.
Enums§
- Error
- Errors produced while encoding or decoding raw LZVN streams and Apple
wrappers such as
bvxnanddecmpfs. - Stream
Status - Status returned by an incremental encoder or decoder step.
Functions§
- decode_
bvxn - Decode an Apple
bvxnblock into a newly allocated buffer. - decode_
bvxn_ into - Decode an Apple
bvxnblock into an existing output buffer. - decode_
decmpfs - Decode an Apple
decmpfswrapper into a newly allocated buffer. - decode_
decmpfs_ into - Decode an Apple
decmpfswrapper into an existing output buffer. - decode_
raw - Decode a raw LZVN stream into a newly allocated buffer.
- decode_
raw_ into - Decode a raw LZVN stream into an existing output buffer.
- encode_
bvxn - Encode bytes as an Apple
bvxnblock. - encode_
decmpfs - Encode bytes as an Apple
decmpfsLZVN wrapper. - encode_
raw - Encode bytes as a raw LZVN stream.
Type Aliases§
- Result
- Result alias used by this crate.