pub fn BrotliWriteBits(
    n_bits: usize,
    bits: u64,
    pos: &mut usize,
    array: &mut [u8]
)