Trait Array
miniotp
pub trait Array { fn as_bytes(&self) -> &[u8]; }
A type that can be coerced to a byte slice.
fn as_bytes(&self) -> &[u8]
Coerce a type to a byte slice.
impl<T> Array for T where T: AsRef<[u8]>,