Enum gst_plugin::bytes::LittleEndian [] [src]

pub enum LittleEndian {}

Defines little-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 little endian order:

use byteorder::{ByteOrder, LittleEndian};

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

Trait Implementations

impl Ord for LittleEndian
[src]

[src]

impl Copy for LittleEndian
[src]

impl Hash for LittleEndian
[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 LittleEndian
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for LittleEndian
[src]

impl PartialEq<LittleEndian> for LittleEndian
[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 LittleEndian
[src]

[src]

Formats the value using the given formatter.

impl ByteOrder for LittleEndian
[src]

impl Default for LittleEndian
[src]

[src]

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

impl PartialOrd<LittleEndian> for LittleEndian
[src]

[src]