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
pub trait AsBytes {
fn as_bytes(&self) -> &[u8]ⓘNotable traits for &'_ [u8]impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
;
}
Helper trait for types that can be viewed as a byte slice