Brotli::Enc::BlockEncoder
Inherits Reference < Object
brotli_bit_stream.c:832
Constructors
new(histogram_length : Int32, num_block_types : Int32, block_types : Array(UInt8), block_lengths : Array(UInt32), num_blocks : Int32)
SourceInstance methods
bits
Sourcebits=(bits : Slice(UInt16))
Sourceblock_ix
Sourceblock_ix=(block_ix : Int32)
Sourceblock_len
Sourceblock_len=(block_len : Int32)
Sourceblock_lengths
Sourceblock_lengths=(block_lengths : Array(UInt32))
Sourceblock_split_code
Sourceblock_split_code=(block_split_code : BlockSplitCode)
Sourceblock_types
Sourceblock_types=(block_types : Array(UInt8))
Sourcebuild_and_store_block_switch_entropy_codes(tree : Slice(HuffmanTree), w : BitWriter) : Nil
brotli_bit_stream.c:870
build_and_store_entropy_codes(histograms : Array(Histogram), alphabet_size : Int32, tree : Slice(HuffmanTree), w : BitWriter) : Nil
block_encoder_inc.h:8 (base64 histogram specials not ported).
depths
Sourcedepths=(depths : Bytes)
Sourceentropy_ix
Sourceentropy_ix=(entropy_ix : Int32)
Sourcehistogram_length
Sourcehistogram_length=(histogram_length : Int32)
Sourcenum_block_types
Sourcenum_block_types=(num_block_types : Int32)
Sourcenum_blocks
Sourcenum_blocks=(num_blocks : Int32)
Sourcestore_symbol_with_context(symbol : Int32, context : Int32, context_map : Slice(UInt32), context_bits : Int32, w : BitWriter) : Nil
brotli_bit_stream.c:900