Struct binary_io::data::DataInputStream[][src]

pub struct DataInputStream<R: ?Sized> { /* fields omitted */ }

A type that can perform Binary IO Reads by passing through reads to a type that implements Read

Implementations

impl<R> DataInputStream<R>[src]

pub const fn new(read: R, order: ByteOrder) -> Self[src]

Constructs a new DataInputStream from a given stream, in the given byte order mode

pub const fn new_native(read: R) -> Self[src]

Constructs a new DataInputStream from a given stream, in the native byte order mode

pub fn into_inner(self) -> R[src]

Returns the inner stream

Trait Implementations

impl<R: Read + ?Sized> DataInput for DataInputStream<R>[src]

impl<R: Read + ?Sized> Read for DataInputStream<R>[src]

impl<R: Read + Seek + ?Sized> Seek for DataInputStream<R>[src]

Auto Trait Implementations

impl<R: ?Sized> RefUnwindSafe for DataInputStream<R> where
    R: RefUnwindSafe

impl<R: ?Sized> Send for DataInputStream<R> where
    R: Send

impl<R: ?Sized> Sync for DataInputStream<R> where
    R: Sync

impl<R: ?Sized> Unpin for DataInputStream<R> where
    R: Unpin

impl<R: ?Sized> UnwindSafe for DataInputStream<R> where
    R: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.