[−][src]Trait ring_compat::aead::Buffer
This is supported on crate feature
aead only.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>
This is supported on crate feature
aead only.Extend this buffer from the given slice
fn truncate(&mut self, len: usize)
This is supported on crate feature
aead only.Truncate this buffer to the given size
Provided methods
fn len(&self) -> usize
This is supported on crate feature
aead only.Get the length of the buffer
fn is_empty(&self) -> bool
This is supported on crate feature
aead only.Is the buffer empty?