Module protocol::util

source ·
Expand description

Helper functions for dealing with sets or lists of parcels.

Functions

Reads a specified number of items from a stream.
Reads a length-prefixed list from a stream.
Reads a length-prefixed list from a stream.
Reads a string of specified length from a stream.
Writes an iterator of parcels to the stream.
Writes a length-prefixed list to a stream.
Writes a length-prefixed list to a stream.

Type Definitions

The integer type that we will use to send length prefixes.