Skip to main content

crypto_bigint/
encoding.rs

1//! Shared encoding support.
2
3/// Byte order used when encoding/decoding field elements as bytestrings.
4#[derive(Clone, Copy, Debug, Eq, PartialEq)]
5pub enum ByteOrder {
6    /// Big endian.
7    BigEndian,
8
9    /// Little endian.
10    LittleEndian,
11}