Function mpack::write_ext
[−]
[src]
pub fn write_ext<W: Write, T>(
dest: &mut W,
id: i8,
val: T
) -> Result<usize, WriteError>
Write any value as an Extended type. On success, returns the number of bytes written.
The val
parameter will be automatically converted to its byte representation.