Function basic_text::copy_text[][src]

pub fn copy_text<R: ReadText + Bufferable + ?Sized, W: WriteText + Bufferable + ?Sized>(
    reader: &mut R,
    writer: &mut W
) -> Result<u64>
Expand description

Like std::io::copy, but for streams that can operate directly on text strings, so we can avoid re-validating them as text.