Crate data_stream

Source
Expand description

This crate simplifies writing data to and reading data from streams. You just need to implement the traits ToStream and FromStream. You might have to implement value specific traits to custom settings types.

Modules§

collections
Settings for collection streaming.
default_settings
Some simple default settings for streaming.
numbers
Settings for number streaming.

Traits§

FromStream
A trait for types, which can be read from streams.
ToStream
A trait for types, which can be written to streams. Most argument types might need some settings.

Functions§

from_stream
A simple function to read a value from a stream.
to_stream
A simple function to write a value to a stream.