read-from

Crates.ioread-from
lib.rsread-from
version0.5.2
sourcesrc
created_at2020-11-17 01:17:58.025633
updated_at2020-11-17 04:43:25.917621
descriptionSupplies the ReadFrom and WriteTo traits.
homepage
repositoryhttps://github.com/sampersand/read_from
max_upload_size
id313131
size9,576
Sam Westerman (sampersand)

documentation

README

read-from

The ReadFrom and WriteTo traits.

These traits allow you to represent the ability of a type to be serialized/ deserialized into an arbitrary byte stream. Because there's no universal way to represent integers (outside of u8 and i8), endian types are provided to explicitly denote the endianness when deserializing.

Serde

This is not the same as serde! Serde is used to serialize/deserialize types regardless of the data format. The ReadFrom/ WriteTo traits are intended to be used at a lower-level, where details such as the ordering of bytes is important.

Commit count: 5

cargo fmt