fn InputPairFromMaskedInput( input: &[u8], position: usize, len: usize, mask: usize, ) -> (&[u8], &[u8])