Static Public Member Functions

static int GetNextKey (int key, int len)
 
static void ReplicateValue (HuffmanCode[] table, int i, int step, int end, HuffmanCode code)
 
static int NextTableBitSize (ushort[] count, int len, int root_bits)
 
static int BuildHuffmanTable (HuffmanCode[] root_table, int table, int root_bits, byte[] code_lengths, int code_lengths_size)
 

Public Attributes

const int MAX_LENGTH = 15
 

Static Package Attributes

static readonly HuffmanCode[] CodeLengthCodeLengths
 

Member Function Documentation

static int Brotli.Huffman.BuildHuffmanTable ( HuffmanCode[]  root_table,
int  table,
int  root_bits,
byte[]  code_lengths,
int  code_lengths_size 
)
inlinestatic
static int Brotli.Huffman.GetNextKey ( int  key,
int  len 
)
inlinestatic
static int Brotli.Huffman.NextTableBitSize ( ushort[]  count,
int  len,
int  root_bits 
)
inlinestatic
static void Brotli.Huffman.ReplicateValue ( HuffmanCode[]  table,
int  i,
int  step,
int  end,
HuffmanCode  code 
)
inlinestatic

Member Data Documentation

readonly HuffmanCode [] Brotli.Huffman.CodeLengthCodeLengths
staticpackage
Initial value:
= new HuffmanCode[]{
new HuffmanCode(2, 0), new HuffmanCode(2, 4), new HuffmanCode(2, 3), new HuffmanCode(3, 2),
new HuffmanCode(2, 0), new HuffmanCode(2, 4), new HuffmanCode(2, 3), new HuffmanCode(4, 1),
new HuffmanCode(2, 0), new HuffmanCode(2, 4), new HuffmanCode(2, 3), new HuffmanCode(3, 2),
new HuffmanCode(2, 0), new HuffmanCode(2, 4), new HuffmanCode(2, 3), new HuffmanCode(4, 5)
}
const int Brotli.Huffman.MAX_LENGTH = 15