sakka 0.0.7

A low-level framework for implementing binary file format parsers and writers.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/// The byte order used when encoding and decoding primitive values.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum Endian {
    /// Native system endianness.
    ///
    /// This uses the endianness of the target platform. It is not portable and
    /// should generally only be used for machine-local data.
    Native,

    /// Little-endian representation.
    Little,

    /// Big-endian representation.
    Big,
}