Module tox::toxcore::binary_io[][src]

Encoding/decoding traits

Enums

GenError

Base type for generator errors

IResult

Holds the result of parsing functions

Traits

FromBytes

The trait provides method to deserialize struct from raw bytes

ToBytes

The trait provides method to serialize struct into raw bytes

Functions

gen_error

Generator that returns specified error.

gen_len_limit

Generator that ensures that length of serialized data does not exceed specified limit.

rest_len

Parser that returns the length of the remaining input.