Module bincode::rustc_serialize [] [src]

A collection of serialization and deserialization functions that use the rustc_serialize crate for the encodable and decodable implementation.

Structs

DecoderReader

A Decoder that reads bytes from a buffer.

EncoderWriter

An Encoder that encodes values directly into a Writer.

SizeChecker

Enums

DecodingError

An error that can be produced during decoding.

EncodingError

An error that can be produced during encoding.

Functions

decode

Decodes a slice of bytes into an object.

decode_from

Decoes an object directly from a Buffered Reader.

encode

Encodes an encodable object into a Vec of bytes.

encode_into

Encodes an object directly into a Writer.

encoded_size

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

encoded_size_bounded

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

Type Definitions

DecodingResult
EncodingResult