| 4 | pub const MAX_LL_SYMBOL: u32 = 288; |
| 5 | |
| 6 | pub struct CodeBook { |
| 7 | pub tree: Vec<(u32, u32)>, // bitcode, length |
| 8 | max_length: u32, |
| 9 | } |
| 10 | |
| 11 | impl CodeBook { |
| 12 | pub fn new(lengths: impl IntoIterator<Item = u32>, len: usize) -> Result<Self> { |
nothing calls this directly
no outgoing calls
no test coverage detected