pub const TAG_LITERAL: u8 = 0x00;
pub const TAG_COPY1: u8 = 0x01;
pub const TAG_COPY2: u8 = 0x02;
pub const TAG_COPY4: u8 = 0x03;
pub const MAX_BLOCK_SIZE: usize = 4 << 20;
pub const MIN_BLOCK_SIZE: usize = 4 << 10;
pub const DEFAULT_BLOCK_SIZE: usize = 1 << 20;
#[allow(dead_code)]
pub const MAX_SNAPPY_BLOCK_SIZE: usize = 1 << 16;
pub const INPUT_MARGIN: usize = 8;
pub const MIN_NON_LITERAL_BLOCK_SIZE: usize = 32;
pub const CHUNK_TYPE_COMPRESSED_DATA: u8 = 0x00;
pub const CHUNK_TYPE_UNCOMPRESSED_DATA: u8 = 0x01;
pub const CHUNK_TYPE_INDEX: u8 = 0x99;
pub const CHUNK_TYPE_PADDING: u8 = 0xfe;
pub const CHUNK_TYPE_STREAM_IDENTIFIER: u8 = 0xff;
#[allow(dead_code)]
pub const MAGIC_BODY: &[u8] = b"S2sTwO";
#[allow(dead_code)]
pub const MAGIC_BODY_SNAPPY: &[u8] = b"sNaPpY";
pub const MAGIC_CHUNK: &[u8] = b"\xff\x06\x00\x00S2sTwO";
pub const MAGIC_CHUNK_SNAPPY: &[u8] = b"\xff\x06\x00\x00sNaPpY";
pub const CHECKSUM_SIZE: usize = 4;
#[allow(dead_code)]
pub const CHUNK_HEADER_SIZE: usize = 4;
pub const MAX_CHUNK_SIZE: usize = (1 << 24) - 1;
#[allow(dead_code)]
pub const SKIPPABLE_FRAME_HEADER: usize = 4;
#[allow(dead_code)]
pub const OBUF_HEADER_LEN: usize = CHECKSUM_SIZE + CHUNK_HEADER_SIZE;