Trait windows::Storage::Streams::IDataWriter_Impl
pub trait IDataWriter_Impl: Sized {
Show 27 methods
// Required methods
fn UnstoredBufferLength(&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 WriteByte(&self, value: u8) -> Result<()>;
fn WriteBytes(&self, value: &[u8]) -> Result<()>;
fn WriteBuffer(&self, buffer: Option<&IBuffer>) -> Result<()>;
fn WriteBufferRange(
&self,
buffer: Option<&IBuffer>,
start: u32,
count: u32,
) -> Result<()>;
fn WriteBoolean(&self, value: bool) -> Result<()>;
fn WriteGuid(&self, value: &GUID) -> Result<()>;
fn WriteInt16(&self, value: i16) -> Result<()>;
fn WriteInt32(&self, value: i32) -> Result<()>;
fn WriteInt64(&self, value: i64) -> Result<()>;
fn WriteUInt16(&self, value: u16) -> Result<()>;
fn WriteUInt32(&self, value: u32) -> Result<()>;
fn WriteUInt64(&self, value: u64) -> Result<()>;
fn WriteSingle(&self, value: f32) -> Result<()>;
fn WriteDouble(&self, value: f64) -> Result<()>;
fn WriteDateTime(&self, value: &DateTime) -> Result<()>;
fn WriteTimeSpan(&self, value: &TimeSpan) -> Result<()>;
fn WriteString(&self, value: &HSTRING) -> Result<u32>;
fn MeasureString(&self, value: &HSTRING) -> Result<u32>;
fn StoreAsync(&self) -> Result<DataWriterStoreOperation>;
fn FlushAsync(&self) -> Result<IAsyncOperation<bool>>;
fn DetachBuffer(&self) -> Result<IBuffer>;
fn DetachStream(&self) -> Result<IOutputStream>;
}
Required Methods§
fn UnstoredBufferLength(&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 WriteByte(&self, value: u8) -> Result<()>
fn WriteBytes(&self, value: &[u8]) -> Result<()>
fn WriteBuffer(&self, buffer: Option<&IBuffer>) -> Result<()>
fn WriteBufferRange( &self, buffer: Option<&IBuffer>, start: u32, count: u32, ) -> Result<()>
fn WriteBoolean(&self, value: bool) -> Result<()>
fn WriteGuid(&self, value: &GUID) -> Result<()>
fn WriteInt16(&self, value: i16) -> Result<()>
fn WriteInt32(&self, value: i32) -> Result<()>
fn WriteInt64(&self, value: i64) -> Result<()>
fn WriteUInt16(&self, value: u16) -> Result<()>
fn WriteUInt32(&self, value: u32) -> Result<()>
fn WriteUInt64(&self, value: u64) -> Result<()>
fn WriteSingle(&self, value: f32) -> Result<()>
fn WriteDouble(&self, value: f64) -> Result<()>
fn WriteDateTime(&self, value: &DateTime) -> Result<()>
fn WriteTimeSpan(&self, value: &TimeSpan) -> Result<()>
fn WriteString(&self, value: &HSTRING) -> Result<u32>
fn MeasureString(&self, value: &HSTRING) -> Result<u32>
fn StoreAsync(&self) -> Result<DataWriterStoreOperation>
fn FlushAsync(&self) -> Result<IAsyncOperation<bool>>
fn DetachBuffer(&self) -> Result<IBuffer>
fn DetachStream(&self) -> Result<IOutputStream>
Object Safety§
This trait is not object safe.