Other items inruma::serde
pub fn slice_to_buf<B>(s: &[u8]) -> B where B: Default + BufMut,
Converts a byte slice to a buffer by copying.