[][src]Module packs::ll::types::lengths

Enums

Length

The possible lengths for sized types like String8. The different sign extensions are according to the PackStream specification. This type should be used for encoding any size information, e.g. the 32bit size information of a String32 or Dictionary32 can be encoded using Length:

Functions

read_dict_size

Reads the size of a PackStream Dictionary as denoted by the marker. Reports UnexpectedMarker on markers which denote no Dictionary.

read_list_size

Reads the size of a PackStream List as denoted by the marker. Analogous to read_dict_size.

read_size_8
read_size_16
read_size_32
read_string_size

Reads the size of a PackStream String as denoted by the marker.