Enum gimli::LittleEndian
[−]
[src]
pub enum LittleEndian {}
Little endian byte order.
Trait Implementations
impl Eq for LittleEndian
[src]
impl PartialEq for LittleEndian
[src]
fn eq(&self, __arg_0: &LittleEndian) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Copy for LittleEndian
[src]
impl Clone for LittleEndian
[src]
fn clone(&self) -> LittleEndian
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for LittleEndian
[src]
impl ByteOrder for LittleEndian
[src]
fn read_u16(buf: &[u8]) -> u16
Reads an unsigned 16 bit integer from buf
. Read more
fn read_u32(buf: &[u8]) -> u32
Reads an unsigned 32 bit integer from buf
. Read more
fn read_u64(buf: &[u8]) -> u64
Reads an unsigned 64 bit integer from buf
. Read more
fn read_uint(buf: &[u8], nbytes: usize) -> u64
Reads an unsigned n-bytes integer from buf
. Read more
fn write_u16(buf: &mut [u8], n: u16)
Writes an unsigned 16 bit integer n
to buf
. Read more
fn write_u32(buf: &mut [u8], n: u32)
Writes an unsigned 32 bit integer n
to buf
. Read more
fn write_u64(buf: &mut [u8], n: u64)
Writes an unsigned 64 bit integer n
to buf
. Read more
fn write_uint(buf: &mut [u8], n: u64, nbytes: usize)
Writes an unsigned integer n
to buf
using only nbytes
. Read more
fn read_i16(buf: &[u8]) -> i16
Reads a signed 16 bit integer from buf
. Read more
fn read_i32(buf: &[u8]) -> i32
Reads a signed 32 bit integer from buf
. Read more
fn read_i64(buf: &[u8]) -> i64
Reads a signed 64 bit integer from buf
. Read more
fn read_int(buf: &[u8], nbytes: usize) -> i64
Reads a signed n-bytes integer from buf
. Read more
fn read_f32(buf: &[u8]) -> f32
Reads a IEEE754 single-precision (4 bytes) floating point number. Read more
fn read_f64(buf: &[u8]) -> f64
Reads a IEEE754 double-precision (8 bytes) floating point number. Read more
fn write_i16(buf: &mut [u8], n: i16)
Writes a signed 16 bit integer n
to buf
. Read more
fn write_i32(buf: &mut [u8], n: i32)
Writes a signed 32 bit integer n
to buf
. Read more
fn write_i64(buf: &mut [u8], n: i64)
Writes a signed 64 bit integer n
to buf
. Read more
fn write_int(buf: &mut [u8], n: i64, nbytes: usize)
Writes a signed integer n
to buf
using only nbytes
. Read more
fn write_f32(buf: &mut [u8], n: f32)
Writes a IEEE754 single-precision (4 bytes) floating point number. Read more
fn write_f64(buf: &mut [u8], n: f64)
Writes a IEEE754 double-precision (8 bytes) floating point number. Read more