Struct winter_utils::SliceReader[][src]

pub struct SliceReader<'a> { /* fields omitted */ }
Expand description

Implements ByteReader trait for a slice of bytes.

Implementations

Creates a new slice reader from the specified slice.

Trait Implementations

Returns a single byte read from self. Read more

Returns a u16 value read from self in little-endian byte order. Read more

Returns a u32 value read from self in little-endian byte order. Read more

Returns a u64 value read from self in little-endian byte order. Read more

Returns a u128 value read from self in little-endian byte order. Read more

Returns a byte vector of the specified length read from self. Read more

Returns a byte array of length N reade from self.

Returns true if there are more bytes left to be read from self.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.