Skip to main content

write_value

Function write_value 

Source
pub fn write_value(
    out: &mut Vec<u8>,
    catalog: &Catalog,
    ty: &Type,
    value: &Value,
) -> Result<(), EncodeError>
Expand description

Appends the encoding of value, of type ty, to out.

ยงErrors

As encode_bytes; out then holds whatever was written before the error.