pub fn write_str<E: Copy>( output: &mut [u8], len: &mut usize, value: &str, error: E, ) -> Result<(), E>
Writes a string into a caller-owned buffer without escaping.