class

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)
Source

Instance methods

bits
Source
bits=(bits : Slice(UInt16))
Source
block_ix
Source
block_ix=(block_ix : Int32)
Source
block_len
Source
block_len=(block_len : Int32)
Source
block_lengths
Source
block_lengths=(block_lengths : Array(UInt32))
Source
block_split_code
Source
block_split_code=(block_split_code : BlockSplitCode)
Source
block_types
Source
block_types=(block_types : Array(UInt8))
Source
build_and_store_block_switch_entropy_codes(tree : Slice(HuffmanTree), w : BitWriter) : Nil

brotli_bit_stream.c:870

Source
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).

Source
depths
Source
depths=(depths : Bytes)
Source
entropy_ix
Source
entropy_ix=(entropy_ix : Int32)
Source
histogram_length
Source
histogram_length=(histogram_length : Int32)
Source
num_block_types
Source
num_block_types=(num_block_types : Int32)
Source
num_blocks
Source
num_blocks=(num_blocks : Int32)
Source
store_symbol(symbol : Int32, w : BitWriter) : Nil

brotli_bit_stream.c:879

Source
store_symbol_with_context(symbol : Int32, context : Int32, context_map : Slice(UInt32), context_bits : Int32, w : BitWriter) : Nil

brotli_bit_stream.c:900

Source