hustcer/fbr/common does not have a README file
pub(all) struct BrotliCommandInfo {
insert_len_extra_bits : Int
copy_len_extra_bits : Int
distance_code : Int
distance_context : Int
insert_len_offset : Int
copy_len_offset : Int
}pub(all) struct BrotliDistanceRing {
distances : FixedArray[Int]
index : Int
last_distance_context : Int
}pub(all) enum FbrErrorCode {
UnexpectedEOF
InvalidUTF8
InvalidZipData
BrotliInvalidWindowBits
BrotliInvalidMetablock
BrotliInvalidHuffman
BrotliInvalidContextMap
BrotliInvalidDistance
BrotliInvalidTransform
BrotliDictionaryNotSupported
BrotliLargeWindowNotSupported
BrotliReserved
BrotliInvalidPadding
} derive(Eq, Debug)impl Show for FbrErrorCodepub(all) struct FbrStreamHandler((FixedArray[Byte], Bool) -> Unit)let brotli_block_length_bases : FixedArray[Int]let brotli_block_length_extra_bits : FixedArray[Int]let brotli_block_size_cap : Intfn brotli_build_huffman_table(code_lengths : FixedArray[Byte], alphabet_size : Int, root_bits : Int) -> FixedArray[Int] raise FbrErrorfn brotli_build_simple_huffman_table(symbols : FixedArray[Int], num_symbols_code : Int, root_bits : Int) -> FixedArray[Int] raise FbrErrorlet brotli_code_length_code_order : FixedArray[Int]let brotli_code_length_prefix_length : FixedArray[Int]let brotli_code_length_prefix_value : FixedArray[Int]let brotli_dictionary_size_bits_by_length : FixedArray[Int]fn brotli_distance_alphabet_size(npostfix : Int, ndirect : Int, max_distance_bits : Int) -> Intlet brotli_distance_context_bits : Intfn brotli_huffman_code(bits : Int, value : Int) -> Intfn brotli_huffman_code_bits(code : Int) -> Intlet brotli_huffman_code_empty : Intfn brotli_huffman_code_value(code : Int) -> Intlet brotli_huffman_max_code_length : Intlet brotli_huffman_max_code_length_code_length : Intlet brotli_huffman_max_table_size : Intlet brotli_huffman_table_bits : Intlet brotli_initial_repeated_code_length : Intlet brotli_literal_context_bits : Intfn brotli_literal_context_id(mode : Int, previous_byte_1 : Int, previous_byte_2 : Int) -> Int raise FbrErrorlet brotli_max_distance_bits : Intlet brotli_max_metablock_bytes : Intlet brotli_max_window_bits : Intlet brotli_min_window_bits : Intlet brotli_num_block_length_symbols : Intlet brotli_num_code_length_codes : Intlet brotli_num_command_symbols : Intlet brotli_num_distance_short_codes : Intlet brotli_num_literal_symbols : Intfn brotli_prefix_offset(extra_bits : FixedArray[Int], code : Int, initial : Int) -> Intlet brotli_repeat_previous_code_length : Intlet brotli_repeat_zero_code_length : Intlet brotli_signed_lut1 : FixedArray[Int]let brotli_signed_lut2 : FixedArray[Int]fn brotli_uppercase_all(buf : FixedArray[Byte], offset : Int, length : Int) -> Unitfn brotli_uppercase_first(buf : FixedArray[Byte], offset : Int, length : Int) -> Unitlet brotli_utf8_lut1 : FixedArray[Int]let brotli_utf8_lut2 : FixedArray[Int]let brotli_window_gap : Intlet default_max_input_size : Intlet default_max_output_size : Intfn max_int_val() -> Intlet rev : FixedArray[Int]fn slc(v : FixedArray[Byte], s : Int, e? : Int) -> FixedArray[Byte]fn trim_buf(buf : FixedArray[Byte], len : Int) -> FixedArray[Byte]Pure MoonBit Brotli (.br) encoder and decoder with split encode/decode packages