Trait windows::Storage::Streams::IDataReader_Impl

pub trait IDataReader_Impl: Sized {
Show 26 methods // Required methods fn UnconsumedBufferLength(&self) -> Result<u32>; fn UnicodeEncoding(&self) -> Result<UnicodeEncoding>; fn SetUnicodeEncoding(&self, value: UnicodeEncoding) -> Result<()>; fn ByteOrder(&self) -> Result<ByteOrder>; fn SetByteOrder(&self, value: ByteOrder) -> Result<()>; fn InputStreamOptions(&self) -> Result<InputStreamOptions>; fn SetInputStreamOptions(&self, value: InputStreamOptions) -> Result<()>; fn ReadByte(&self) -> Result<u8>; fn ReadBytes(&self, value: &mut [u8]) -> Result<()>; fn ReadBuffer(&self, length: u32) -> Result<IBuffer>; fn ReadBoolean(&self) -> Result<bool>; fn ReadGuid(&self) -> Result<GUID>; fn ReadInt16(&self) -> Result<i16>; fn ReadInt32(&self) -> Result<i32>; fn ReadInt64(&self) -> Result<i64>; fn ReadUInt16(&self) -> Result<u16>; fn ReadUInt32(&self) -> Result<u32>; fn ReadUInt64(&self) -> Result<u64>; fn ReadSingle(&self) -> Result<f32>; fn ReadDouble(&self) -> Result<f64>; fn ReadString(&self, codeunitcount: u32) -> Result<HSTRING>; fn ReadDateTime(&self) -> Result<DateTime>; fn ReadTimeSpan(&self) -> Result<TimeSpan>; fn LoadAsync(&self, count: u32) -> Result<DataReaderLoadOperation>; fn DetachBuffer(&self) -> Result<IBuffer>; fn DetachStream(&self) -> Result<IInputStream>;
}

Required Methods§

fn UnconsumedBufferLength(&self) -> Result<u32>

fn UnicodeEncoding(&self) -> Result<UnicodeEncoding>

fn SetUnicodeEncoding(&self, value: UnicodeEncoding) -> Result<()>

fn ByteOrder(&self) -> Result<ByteOrder>

fn SetByteOrder(&self, value: ByteOrder) -> Result<()>

fn InputStreamOptions(&self) -> Result<InputStreamOptions>

fn SetInputStreamOptions(&self, value: InputStreamOptions) -> Result<()>

fn ReadByte(&self) -> Result<u8>

fn ReadBytes(&self, value: &mut [u8]) -> Result<()>

fn ReadBuffer(&self, length: u32) -> Result<IBuffer>

fn ReadBoolean(&self) -> Result<bool>

fn ReadGuid(&self) -> Result<GUID>

fn ReadInt16(&self) -> Result<i16>

fn ReadInt32(&self) -> Result<i32>

fn ReadInt64(&self) -> Result<i64>

fn ReadUInt16(&self) -> Result<u16>

fn ReadUInt32(&self) -> Result<u32>

fn ReadUInt64(&self) -> Result<u64>

fn ReadSingle(&self) -> Result<f32>

fn ReadDouble(&self) -> Result<f64>

fn ReadString(&self, codeunitcount: u32) -> Result<HSTRING>

fn ReadDateTime(&self) -> Result<DateTime>

fn ReadTimeSpan(&self) -> Result<TimeSpan>

fn LoadAsync(&self, count: u32) -> Result<DataReaderLoadOperation>

fn DetachBuffer(&self) -> Result<IBuffer>

fn DetachStream(&self) -> Result<IInputStream>

Object Safety§

This trait is not object safe.

Implementors§