pub trait AsBytes {
    fn as_bytes(&self) -> &[u8]Notable traits for &[u8]impl<'_> Read for &[u8]impl<'_> Write for &mut [u8];
}
Expand description

Helper trait for types that can be viewed as a byte slice

Required Methods

Casts the input type to a byte slice

Implementations on Foreign Types

Implementors