Function write_ext

Source
pub fn write_ext<W: Write, T>(
    dest: &mut W,
    id: i8,
    val: T,
) -> Result<usize, WriteError>
Expand description

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.