pub trait ReadBuf: BufMut { // Required method fn init_mut(&mut self) -> &mut [u8] ⓘ; }
An extension for BufMut for getting a writeable buffer in safe code.
BufMut
Get the full capacity of this buffer as a safely initialized slice.