Skip to main content

stack_buffer_copy

Function stack_buffer_copy 

Source
fn stack_buffer_copy<R: Read + ?Sized, W: Write + ?Sized>(
    reader: &mut R,
    writer: &mut W,
) -> Result<u64>
🔬This is a nightly-only experimental API. (alloc_io #154046)
Expand description

Copies from reader to writer using a stack-allocated buffer (a fixed sized array).