pub fn write_to_slice<'a, T: Serializable<'a>>(
slice: &mut [u8],
t: &T,
) -> WriteResult<usize>Expand description
Serialize the given Serializable object to the given slice. The amount of bytes written is returned.
pub fn write_to_slice<'a, T: Serializable<'a>>(
slice: &mut [u8],
t: &T,
) -> WriteResult<usize>Serialize the given Serializable object to the given slice. The amount of bytes written is returned.