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]
impl Copy for BigEndian[src]
impl Hash for BigEndian[src]
fn hash<__H>(&self, __arg_0: &mut __H) where
__H: Hasher, [src]
__H: Hasher,
Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more
impl Clone for BigEndian[src]
fn clone(&self) -> BigEndian[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Eq for BigEndian[src]
impl PartialEq<BigEndian> for BigEndian[src]
fn eq(&self, __arg_0: &BigEndian) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl Debug for BigEndian[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>[src]
Formats the value using the given formatter.