pub fn encode_into_slice<E, C>(
val: E,
dst: &mut [u8],
config: C,
) -> Result<usize, EncodeError>Available on crate feature
serde only.Expand description
Encode the given value into the given slice. Returns the amount of bytes that have been written.
See the config module for more information on configurations.