Trait dryoc::types::MutBytes[][src]

pub trait MutBytes: Bytes {
    fn as_mut_slice(&mut self) -> &mut [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