as_bytes_mut

Function as_bytes_mut 

Source
pub fn as_bytes_mut<B: ?Sized + Buf>(buf: &mut B) -> &mut [u8]
Expand description

Converts a mutable reference to a Buf into its underlying bytes.