Trait Byte Array Interface
Source pub trait ByteArrayInterface: AsMut<[u8]> {
// Required methods
fn initial_len(&self) -> usize;
fn resize(&mut self, size: usize) -> Option<&mut [u8]>;
}Required Methods§
Implementations on Foreign Types§
Source§impl ByteArrayInterface for &mut [u8]
Available on crate feature v1_24 only.
impl ByteArrayInterface for &mut [u8]
Available on crate feature
v1_24 only.Source§impl ByteArrayInterface for Vec<u8>
Available on crate feature v1_24 only.
impl ByteArrayInterface for Vec<u8>
Available on crate feature
v1_24 only.Source§impl<A: Array<Item = u8>> ByteArrayInterface for SmallVec<A>
Available on crate feature v1_24 only.
impl<A: Array<Item = u8>> ByteArrayInterface for SmallVec<A>
Available on crate feature
v1_24 only.