Trait dryoc::types::MutBytes

source ·
pub trait MutBytes: Bytes {
    fn as_mut_slice(&mut self) -> &mut [u8]Notable traits for &mut [u8]impl Write for &mut [u8]impl Read for &[u8];
    fn copy_from_slice(&mut self, other: &[u8]);
}
Expand description

Arbitrary-length array of mutable bytes.

Required Methods

Returns a mutable slice to the underlying bytes.

Copies into the underlying slice from other. Panics if lengths do not match.

Implementations on Foreign Types

Implementors