Module serde_cbor::ser [] [src]

CBOR serializisation.

Structs

Serializer

A structure for serializing Rust values into CBOR.

Functions

to_vec

Encodes the specified struct into a Vec<u8>.

to_vec_sd

Encodes the specified struct into a Vec<u8> with a leading self-describe tag.

to_writer

Encodes the specified struct into a writer.

to_writer_sd

Encodes the specified struct into a writer with a leading self-describe tag.