# Enum byteorder::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.

## Trait Implementations

### `impl ByteOrder for LittleEndian`

#### `fn read_u16(buf: &[u8]) -> u16`

#### `fn read_u32(buf: &[u8]) -> u32`

#### `fn read_u64(buf: &[u8]) -> u64`

#### `fn read_uint(buf: &[u8], nbytes: usize) -> u64`

#### `fn write_u16(buf: &mut [u8], n: u16)`

#### `fn write_u32(buf: &mut [u8], n: u32)`

#### `fn write_u64(buf: &mut [u8], n: u64)`

#### `fn write_uint(buf: &mut [u8], n: u64, nbytes: usize)`

#### `fn read_i16(buf: &[u8]) -> i16`

#### `fn read_i32(buf: &[u8]) -> i32`

#### `fn read_i64(buf: &[u8]) -> i64`

#### `fn read_int(buf: &[u8], nbytes: usize) -> i64`

#### `fn read_f32(buf: &[u8]) -> f32`

#### `fn read_f64(buf: &[u8]) -> f64`

#### `fn write_i16(buf: &mut [u8], n: i16)`

#### `fn write_i32(buf: &mut [u8], n: i32)`

#### `fn write_i64(buf: &mut [u8], n: i64)`

#### `fn write_int(buf: &mut [u8], n: i64, nbytes: usize)`

#### `fn write_f32(buf: &mut [u8], n: f32)`

#### `fn write_f64(buf: &mut [u8], n: f64)`

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)