fn ReplicateValue(
    table: &mut [HuffmanCode],
    offset: u32,
    step: i32,
    end: i32,
    code: HuffmanCode
)