pub fn write_byte<E: Copy>( output: &mut [u8], len: &mut usize, byte: u8, error: E, ) -> Result<(), E>
Writes one byte into a caller-owned buffer.