pub fn get_extra_size_before(dict_size: u32) -> u32
Calculates the extra space needed before the dictionary for LZMA2 encoding.