Enum bytes::BigEndian []

pub enum BigEndian {}

Defines big-endian serialization.

Note that this type has no value constructor. It is used purely at the type level.

Trait Implementations

impl ByteOrder for BigEndian

Reads an unsigned 16 bit integer from buf. Read more

Reads an unsigned 32 bit integer from buf. Read more

Reads an unsigned 64 bit integer from buf. Read more

Reads an unsigned n-bytes integer from buf. Read more

Writes an unsigned 16 bit integer n to buf. Read more

Writes an unsigned 32 bit integer n to buf. Read more

Writes an unsigned 64 bit integer n to buf. Read more

Writes an unsigned integer n to buf using only nbytes. Read more

Reads a signed 16 bit integer from buf. Read more

Reads a signed 32 bit integer from buf. Read more

Reads a signed 64 bit integer from buf. Read more

Reads a signed n-bytes integer from buf. Read more

Reads a IEEE754 single-precision (4 bytes) floating point number. Read more

Reads a IEEE754 double-precision (8 bytes) floating point number. Read more

Writes a signed 16 bit integer n to buf. Read more

Writes a signed 32 bit integer n to buf. Read more

Writes a signed 64 bit integer n to buf. Read more

Writes a signed integer n to buf using only nbytes. Read more

Writes a IEEE754 single-precision (4 bytes) floating point number. Read more

Writes a IEEE754 double-precision (8 bytes) floating point number. Read more

impl PartialEq<BigEndian> for BigEndian

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Default for BigEndian

impl Eq for BigEndian

impl Ord for BigEndian

This method returns an Ordering between self and other. Read more

impl Hash for BigEndian

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl PartialOrd<BigEndian> for BigEndian

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Copy for BigEndian

impl Clone for BigEndian

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for BigEndian

Formats the value using the given formatter.