Struct crypto::buffer::OwnedWriteBuffer [-] [+] [src]

pub struct OwnedWriteBuffer {
    // some fields omitted
}

Methods

impl OwnedWriteBuffer

fn new(buff: Vec<u8>) -> OwnedWriteBuffer

fn into_read_buffer(self) -> OwnedReadBuffer

Trait Implementations

impl WriteBuffer for OwnedWriteBuffer

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 reset(&mut self)

fn peek_read_buffer<'a>(&'a mut self) -> RefReadBuffer<'a>

fn take_next<'a>(&'a mut self, count: usize) -> &'a mut [u8]

fn take_read_buffer<'a>(&'a mut self) -> RefReadBuffer<'a>

fn position(&self) -> usize

fn take_remaining(&mut self) -> &mut [u8]