Enum gst_plugin::bytes::BigEndian [] [src]

pub enum BigEndian {}

Defines big-endian serialization.

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

Examples

Write and read u32 numbers in big endian order:

use byteorder::{ByteOrder, BigEndian};

let mut buf = [0; 4];
BigEndian::write_u32(&mut buf, 1_000_000);
assert_eq!(1_000_000, BigEndian::read_u32(&buf));

Trait Implementations

impl Ord for BigEndian
[src]

[src]

impl Copy for BigEndian
[src]

impl Hash for BigEndian
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Clone for BigEndian
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for BigEndian
[src]

impl PartialEq<BigEndian> for BigEndian
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Debug for BigEndian
[src]

[src]

Formats the value using the given formatter.

impl ByteOrder for BigEndian
[src]

impl Default for BigEndian
[src]

[src]

Returns the "default value" for a type. Read more

impl PartialOrd<BigEndian> for BigEndian
[src]

[src]