karyon_core::util

Function encode_into_slice

Source
pub fn encode_into_slice<T: Encode>(src: &T, dst: &mut [u8]) -> Result<usize>
Expand description

Encode the given type T into the given slice..