C# Class Windows.Storage.Streams.DataWriter

Inheritance: IDataWriter, IClosable
显示文件 Open project: ermau/WinRT.NET Class Usage Examples

Public Methods

Method Description
DataWriter ( IOutputStream outputStream ) : System
DetatchBuffer ( ) : Windows.Storage.Streams.IBuffer
DetatchStream ( ) : IOutputStream
MeasureString ( string value ) : uint
StoreAsync ( ) : DataWriterStoreOperation
WriteBoolean ( bool value ) : void
WriteBuffer ( Windows.Storage.Streams.IBuffer value ) : void
WriteBuffer ( Windows.Storage.Streams.IBuffer value, uint start, uint count ) : void
WriteByte ( byte value ) : void
WriteBytes ( byte value ) : void
WriteDateTime ( DateTimeOffset value ) : void
WriteDouble ( double value ) : void
WriteGuid ( System.Guid value ) : void
WriteInt16 ( short value ) : void
WriteInt32 ( int value ) : void
WriteInt64 ( long value ) : void
WriteSingle ( float value ) : void
WriteString ( string value ) : void
WriteTimeSpan ( TimeSpan value ) : void
WriteUInt16 ( ushort value ) : void
WriteUInt32 ( ushort value ) : void
WriteUInt64 ( ulong value ) : void

Method Details

DataWriter() public method

public DataWriter ( IOutputStream outputStream ) : System
outputStream IOutputStream
return System

DetatchBuffer() public method

public DetatchBuffer ( ) : Windows.Storage.Streams.IBuffer
return Windows.Storage.Streams.IBuffer

DetatchStream() public method

public DetatchStream ( ) : IOutputStream
return IOutputStream

MeasureString() public method

public MeasureString ( string value ) : uint
value string
return uint

StoreAsync() public method

public StoreAsync ( ) : DataWriterStoreOperation
return DataWriterStoreOperation

WriteBoolean() public method

public WriteBoolean ( bool value ) : void
value bool
return void

WriteBuffer() public method

public WriteBuffer ( Windows.Storage.Streams.IBuffer value ) : void
value Windows.Storage.Streams.IBuffer
return void

WriteBuffer() public method

public WriteBuffer ( Windows.Storage.Streams.IBuffer value, uint start, uint count ) : void
value Windows.Storage.Streams.IBuffer
start uint
count uint
return void

WriteByte() public method

public WriteByte ( byte value ) : void
value byte
return void

WriteBytes() public method

public WriteBytes ( byte value ) : void
value byte
return void

WriteDateTime() public method

public WriteDateTime ( DateTimeOffset value ) : void
value DateTimeOffset
return void

WriteDouble() public method

public WriteDouble ( double value ) : void
value double
return void

WriteGuid() public method

public WriteGuid ( System.Guid value ) : void
value System.Guid
return void

WriteInt16() public method

public WriteInt16 ( short value ) : void
value short
return void

WriteInt32() public method

public WriteInt32 ( int value ) : void
value int
return void

WriteInt64() public method

public WriteInt64 ( long value ) : void
value long
return void

WriteSingle() public method

public WriteSingle ( float value ) : void
value float
return void

WriteString() public method

public WriteString ( string value ) : void
value string
return void

WriteTimeSpan() public method

public WriteTimeSpan ( TimeSpan value ) : void
value TimeSpan
return void

WriteUInt16() public method

public WriteUInt16 ( ushort value ) : void
value ushort
return void

WriteUInt32() public method

public WriteUInt32 ( ushort value ) : void
value ushort
return void

WriteUInt64() public method

public WriteUInt64 ( ulong value ) : void
value ulong
return void