Skip to main content

le_stream/
lib.rs

1//! A library for reading and writing data in little-endian byte order.
2
3#![no_std]
4
5pub use consume::Consume;
6pub use error::{Error, Result};
7pub use from_le_stream::FromLeStream;
8pub use prefixed::Prefixed;
9pub use to_le_stream::ToLeStream;
10pub use try_from_le_stream::TryFromLeStream;
11
12mod consume;
13mod error;
14mod from_le_stream;
15mod prefixed;
16mod to_le_stream;
17mod try_from_le_stream;
18
19#[cfg(feature = "derive")]
20pub use le_stream_derive::{FromLeStream, FromLeStreamTagged, ToLeStream};