Module bincode::serde [] [src]

A collection of serialization and deserialization functions that use the serde crate for the serialazble and deserializable implementation.

Structs

Deserializer

A Deserializer that reads bytes from a buffer.

Serializer

An Serializer that encodes values directly into a Writer.

Enums

DeserializeError

An error that can be produced during decoding.

SerializeError

An error that can be produced during encoding.

Functions

deserialize

Deserializes a slice of bytes into an object.

deserialize_from

Deserializes an object directly from a Buffered Reader.

serialize

Serializes a serializable object into a Vec of bytes.

serialize_into

Serializes an object directly into a Writer.

serialized_size

Returns the size that an object would be if serialized using bincode.

serialized_size_bounded

Given a maximum size limit, check how large an object would be if it were to be serialized.

Type Definitions

DeserializeResult
SerializeResult