read-from 0.5.2

Supplies the ReadFrom and WriteTo traits.
Documentation
  • Coverage
  • 100%
    11 out of 11 items documented5 out of 7 items with examples
  • Size
  • Source code size: 9.2 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 7.18 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • sampersand/read_from
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • sampersand

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.