Function rotary::io::copy_remaining[][src]

pub fn copy_remaining<I, O, T>(from: I, to: O) where
    I: ReadBuf + Channels<T>,
    O: WriteBuf + ChannelsMut<T>,
    T: Copy

Copy the shared remaining frames from from into to.

This will copy the minimum number of frames between ReadBuf::remaining and WriteBuf::remaining_mut, and advance the provided buffers appropriately using ReadBuf::advance and WriteBuf::advance_mut.