Function bincode::serde::encode_into_slice
source · [−]pub fn encode_into_slice<T, C>(
t: T,
slice: &mut [u8],
config: C
) -> Result<usize, EncodeError>where
T: Serialize,
C: Config,
Available on crate feature
serde
only.Expand description
Encode a serde
Serialize
type into a given byte slice with the bincode algorithm