(writer: &mut Writer, s: &str)
| 725 | |
| 726 | #[inline] |
| 727 | pub fn write_utf8_standard(writer: &mut Writer, s: &str) { |
| 728 | let bytes = s.as_bytes(); |
| 729 | writer.bf.extend_from_slice(bytes); |
| 730 | } |
| 731 | |
| 732 | #[inline] |
| 733 | pub fn write_utf16_standard(writer: &mut Writer, utf16: &[u16]) { |