[−][src]Trait crypto::buffer::ReadBuffer
Required Methods
fn is_empty(&self) -> bool
fn is_full(&self) -> bool
fn remaining(&self) -> usize
fn capacity(&self) -> usize
fn rewind(&mut self, distance: usize)
fn truncate(&mut self, amount: usize)
fn reset(&mut self)
fn peek_next(&self, count: usize) -> &[u8]
fn take_next(&mut self, count: usize) -> &[u8]
Provided Methods
fn position(&self) -> usize
fn peek_remaining(&self) -> &[u8]
fn take_remaining(&mut self) -> &[u8]
fn push_to<W: WriteBuffer>(&mut self, output: &mut W)
Implementors
impl ReadBuffer for OwnedReadBuffer[src]
impl ReadBuffer for OwnedReadBufferfn is_empty(&self) -> bool[src]
fn is_empty(&self) -> boolfn is_full(&self) -> bool[src]
fn is_full(&self) -> boolfn remaining(&self) -> usize[src]
fn remaining(&self) -> usizefn capacity(&self) -> usize[src]
fn capacity(&self) -> usizefn rewind(&mut self, distance: usize)[src]
fn rewind(&mut self, distance: usize)fn truncate(&mut self, amount: usize)[src]
fn truncate(&mut self, amount: usize)fn reset(&mut self)[src]
fn reset(&mut self)fn peek_next(&self, count: usize) -> &[u8][src]
fn peek_next(&self, count: usize) -> &[u8]fn take_next(&mut self, count: usize) -> &[u8][src]
fn take_next(&mut self, count: usize) -> &[u8]fn position(&self) -> usize[src]
fn position(&self) -> usizefn peek_remaining(&self) -> &[u8][src]
fn peek_remaining(&self) -> &[u8]fn take_remaining(&mut self) -> &[u8][src]
fn take_remaining(&mut self) -> &[u8]fn push_to<W: WriteBuffer>(&mut self, output: &mut W)[src]
fn push_to<W: WriteBuffer>(&mut self, output: &mut W)impl<'a> ReadBuffer for RefReadBuffer<'a>[src]
impl<'a> ReadBuffer for RefReadBuffer<'a>fn is_empty(&self) -> bool[src]
fn is_empty(&self) -> boolfn is_full(&self) -> bool[src]
fn is_full(&self) -> boolfn remaining(&self) -> usize[src]
fn remaining(&self) -> usizefn capacity(&self) -> usize[src]
fn capacity(&self) -> usizefn rewind(&mut self, distance: usize)[src]
fn rewind(&mut self, distance: usize)fn truncate(&mut self, amount: usize)[src]
fn truncate(&mut self, amount: usize)fn reset(&mut self)[src]
fn reset(&mut self)fn peek_next(&self, count: usize) -> &[u8][src]
fn peek_next(&self, count: usize) -> &[u8]fn take_next(&mut self, count: usize) -> &[u8][src]
fn take_next(&mut self, count: usize) -> &[u8]fn position(&self) -> usize[src]
fn position(&self) -> usizefn peek_remaining(&self) -> &[u8][src]
fn peek_remaining(&self) -> &[u8]fn take_remaining(&mut self) -> &[u8][src]
fn take_remaining(&mut self) -> &[u8]fn push_to<W: WriteBuffer>(&mut self, output: &mut W)[src]
fn push_to<W: WriteBuffer>(&mut self, output: &mut W)