Crate streamdata

Source
Expand description

Utilities for decoding stream data.

Modules§

decoder
Decoder implementations.

Structs§

AvailableIter
Iterate over the data readily available in the state, decoding the values on the fly.
Decoded
The results of the successful decoding.
State
The managed decoding state for the stream of data.

Enums§

DecodeError
The decoder error. This can either be any error that indicates that more data is needed to decode the value, i.e. the data is empty or is an incomplete part of an encoded value.

Traits§

Buffer
Buffer captures the interface we require from the piece that maintains the crate::State buffer. This buffer is intended for keeping the undecoded partial chunks.
Decoder
Decoder represents the ability to decode a value from a given buffer of data.