[−][src]Trait speedy::Reader
Required methods
fn read_bytes(&mut self, output: &mut [u8]) -> Result<(), C::Error>
fn peek_bytes(&mut self, output: &mut [u8]) -> Result<(), C::Error>
fn context(&self) -> &C
fn context_mut(&mut self) -> &mut C
Provided methods
fn skip_bytes(&mut self, length: usize) -> Result<(), C::Error>
fn can_read_at_least(&self, _size: usize) -> Option<bool>
fn read_bytes_borrowed(
&mut self,
_length: usize
) -> Option<Result<&'a [u8], C::Error>>
&mut self,
_length: usize
) -> Option<Result<&'a [u8], C::Error>>
fn read_u8(&mut self) -> Result<u8, C::Error>
fn peek_u8(&mut self) -> Result<u8, C::Error>
fn read_i8(&mut self) -> Result<i8, C::Error>
fn peek_i8(&mut self) -> Result<i8, C::Error>
fn read_u16(&mut self) -> Result<u16, C::Error>
fn peek_u16(&mut self) -> Result<u16, C::Error>
fn read_i16(&mut self) -> Result<i16, C::Error>
fn peek_i16(&mut self) -> Result<i16, C::Error>
fn read_u32(&mut self) -> Result<u32, C::Error>
fn peek_u32(&mut self) -> Result<u32, C::Error>
fn read_i32(&mut self) -> Result<i32, C::Error>
fn peek_i32(&mut self) -> Result<i32, C::Error>
fn read_u64(&mut self) -> Result<u64, C::Error>
fn peek_u64(&mut self) -> Result<u64, C::Error>
fn read_i64(&mut self) -> Result<i64, C::Error>
fn peek_i64(&mut self) -> Result<i64, C::Error>
fn read_f32(&mut self) -> Result<f32, C::Error>
fn peek_f32(&mut self) -> Result<f32, C::Error>
fn read_f64(&mut self) -> Result<f64, C::Error>
fn peek_f64(&mut self) -> Result<f64, C::Error>
fn read_value<T: Readable<'a, C>>(&mut self) -> Result<T, C::Error>
fn endianness(&self) -> Endianness
fn read_vec<T>(&mut self, length: usize) -> Result<Vec<T>, C::Error> where
T: Readable<'a, C>,
T: Readable<'a, C>,
fn read_cow<T>(&mut self, length: usize) -> Result<Cow<'a, [T]>, C::Error> where
T: Readable<'a, C>,
[T]: ToOwned<Owned = Vec<T>>,
T: Readable<'a, C>,
[T]: ToOwned<Owned = Vec<T>>,
fn read_string(&mut self, length: usize) -> Result<String, C::Error>
fn read_collection<T, U>(&mut self, length: usize) -> Result<U, C::Error> where
U: FromIterator<T>,
T: Readable<'a, C>,
U: FromIterator<T>,
T: Readable<'a, C>,