fn read_code_into_vec( code: u32, run_length_code: u32, code_bits: &mut u64, code_bit_count: &mut u64, read: &mut impl Read, out: &mut Vec<u16>, max_len: usize, ) -> UnitResult