fn decode<'a>( input: &[u8], output: &'a mut [u8], decode_byte: impl Fn(u8) -> CodePoint, ) -> Result<&'a [u8], Error>