Module maidsafe_utilities::serialisation [] [src]

Functions for serialisation and deserialisation

Enums

SerialisationError

Serialisation error.

Functions

deserialise

Deserialise a Decodable type with no limit on the size of the serialised data.

deserialise_from

Deserialise a Decodable type directly from a Read with no limit on the size of the serialised data.

deserialise_from_with_limit

Deserialise a Decodable type directly from a Read with max size limit specified.

deserialise_with_limit

Deserialise a Decodable type with max size limit specified.

serialise

Serialise an Encodable type with no limit on the size of the serialised data.

serialise_into

Serialise an Encodable type directly into a Write with no limit on the size of the serialised data.

serialise_into_with_limit

Serialise an Encodable type directly into a Write with max size limit specified.

serialise_with_limit

Serialise an Encodable type with max limit specified.

serialised_size

Returns the size that an object would be if serialised using serialise().

serialised_size_with_limit

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