xz-rs 0.1.0

A pure-Rust implementation of xz-utils
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use thiserror::Error;

#[derive(Error, Debug)]
pub enum BlockDecodeError {
    #[error("Invalid block header")]
    InvalidHeader,

    #[error("Invalid block footer")]
    InvalidIndex,

    #[error("Reserved block flags")]
    ReservedBlockFlags,

    #[error("Invalid variable-length integer")]
    InvalidVarInt,
}