Function utf8_io::copy_str [−][src]
pub fn copy_str<R: ReadStr + ?Sized, W: WriteStr + ?Sized>(
reader: &mut R,
writer: &mut W
) -> Result<u64>
Like std::io::copy
, but for streams that can operate directly on strings,
so we can avoid re-validating them as UTF-8.