le_stream/to_le_stream.rs
1mod alloc;
2mod core;
3mod heapless;
4mod intx;
5mod macaddr;
6
7/// Convert an object to a stream of bytes with little endianness.
8pub trait ToLeStream
9where
10 Self::Iter: Iterator<Item = u8>,
11{
12 /// The byte iterator type.
13 type Iter;
14
15 /// Return an iterator of bytes with little endianness.
16 fn to_le_stream(self) -> Self::Iter;
17}