Skip to main content

write_escaped

Function write_escaped 

Source
pub fn write_escaped<P: AsRef<[u8]>>(s: P, w: &mut impl Write) -> Result<()>
Expand description

Given a byte sequence, writes it in escaped form to the passed writer. Does not add surrounding quotes.