1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! A library for reading and writing data in little-endian byte order.

pub use error::{Error, Result};
pub use from_le_stream::FromLeStream;
pub use to_le_stream::ToLeStream;

mod error;
mod from_le_stream;
mod to_le_stream;

/// Re-export the `FromLeBytes` and `ToLeBytes` derive macros.
#[cfg(feature = "derive")]
pub mod derive {
    pub use le_stream_derive::{FromLeStream, ToLeStream};
}