Function ruma_serde::slice_to_buf [−][src]
pub fn slice_to_buf<B: Default + BufMut>(s: &[u8]) -> B
Expand description
Converts a byte slice to a buffer by copying.
pub fn slice_to_buf<B: Default + BufMut>(s: &[u8]) -> B
Converts a byte slice to a buffer by copying.