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

Simple trait to transform various types to &[u8]

Required methods

Transform self into &[u8].

Implementations on Foreign Types

Implementors