Trait endian::WriteEndian
[-] [+]
[src]
pub trait WriteEndian { fn write_be(&mut self, buf: &[u8]) -> Result<usize>; fn write_le(&mut self, buf: &[u8]) -> Result<usize>; }
Write extension for endianness.
Required Methods
fn write_be(&mut self, buf: &[u8]) -> Result<usize>
fn write_le(&mut self, buf: &[u8]) -> Result<usize>
Implementors
impl WriteEndian for u16
impl<'a> WriteEndian for &'a mut [u16]
impl WriteEndian for Vec<u16>
impl WriteEndian for u32
impl<'a> WriteEndian for &'a mut [u32]
impl WriteEndian for Vec<u32>
impl WriteEndian for u64
impl<'a> WriteEndian for &'a mut [u64]
impl WriteEndian for Vec<u64>