Trait rotary::ReadBuf [−][src]
A buffer that can keep track of how much has been read from it.
Required methods
pub fn remaining(&self) -> usize
[src]
The number of frames remaining in the readable buffer.
pub fn advance(&mut self, n: usize)
[src]
Advance the read number of frames by n
.
Provided methods
pub fn has_remaining(&self) -> bool
[src]
Test if this buffer has remaining frames.
Implementations on Foreign Types
impl<'_, B> ReadBuf for &'_ mut B where
B: ReadBuf,
[src]
B: ReadBuf,