Struct brotli_decompressor::reader::HuffmanTreeGroup
[−]
[src]
pub struct HuffmanTreeGroup<Alloc32: Allocator<u32>, AllocHC: Allocator<HuffmanCode>> { pub htrees: Alloc32::AllocatedMemory, pub codes: AllocHC::AllocatedMemory, pub alphabet_size: u16, pub num_htrees: u16, }
Fields
htrees: Alloc32::AllocatedMemory
codes: AllocHC::AllocatedMemory
alphabet_size: u16
num_htrees: u16
Methods
impl<AllocU32: Allocator<u32>, AllocHC: Allocator<HuffmanCode>> HuffmanTreeGroup<AllocU32, AllocHC>
[src]
fn init(
&mut self,
alloc_u32: &mut AllocU32,
alloc_hc: &mut AllocHC,
alphabet_size: u16,
ntrees: u16
)
[src]
&mut self,
alloc_u32: &mut AllocU32,
alloc_hc: &mut AllocHC,
alphabet_size: u16,
ntrees: u16
)