Module bincode::internal [] [src]

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

Structs

Deserializer

A Deserializer that reads bytes from a buffer.

Serializer

An Serializer that encodes values directly into a Writer.

Enums

ErrorKind

The kind of error that can be produced during a serialization or deserialization.

Functions

deserialize

Deserializes a slice of bytes into an object.

deserialize_from

Deserializes an object directly from a 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

Error

An error that can be produced during (de)serializing.

Result

The result of a serialization or deserialization operation.