[−][src]Trait aead::Buffer
In-place encryption/decryption byte buffers.
This trait defines the set of methods needed to support in-place operations
on a Vec
-like data type.
Required methods
fn extend_from_slice(&mut self, other: &[u8]) -> Result<(), Error>
Extend this buffer from the given slice
fn truncate(&mut self, len: usize)
Truncate this buffer to the given size
Provided methods
Loading content...Implementations on Foreign Types
impl Buffer for Vec<u8>
[src]
fn extend_from_slice(&mut self, other: &[u8]) -> Result<(), Error>
[src]
fn truncate(&mut self, len: usize)
[src]
impl<N> Buffer for Vec<u8, N> where
N: ArrayLength<u8>,
[src]
N: ArrayLength<u8>,