DataWriter Methods |
The DataWriter type exposes the following members.
Name | Description | |
---|---|---|
![]() | Close | Closes the current BinaryWriter and the underlying stream. (Inherited from BinaryWriter.) |
![]() | Dispose | (Inherited from BinaryWriter.) |
![]() | Dispose(Boolean) | (Inherited from BinaryWriter.) |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | Flush | (Inherited from BinaryWriter.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Seek | (Inherited from BinaryWriter.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Write(Boolean) | (Inherited from BinaryWriter.) |
![]() | Write(Byte) | (Inherited from BinaryWriter.) |
![]() | Write(SByte) | (Inherited from BinaryWriter.) |
![]() | Write(Byte) | (Inherited from BinaryWriter.) |
![]() | Write(Char) | (Inherited from BinaryWriter.) |
![]() | Write(Char) | (Inherited from BinaryWriter.) |
![]() | Write(Decimal) | (Inherited from BinaryWriter.) |
![]() | Write(Double) |
Converts a Double value to its bits and writes an Int64 instance
which stores the bits.
(Overrides BinaryWriterWrite(Double).) |
![]() | Write(Int16) |
Writes a two-byte signed integer to the current stream and
advances the stream position by two bytes.
(Overrides BinaryWriterWrite(Int16).) |
![]() | Write(Int32) |
Writes a four-byte signed integer to the current stream and
advances the stream position by four bytes.
(Overrides BinaryWriterWrite(Int32).) |
![]() | Write(Int64) |
Writes a eight-byte signed integer to the current stream and
advances the stream position by eight bytes.
(Overrides BinaryWriterWrite(Int64).) |
![]() | Write(Single) |
Converts a Single value to its bits and writes an Int32 instance
which stores the bits.
(Overrides BinaryWriterWrite(Single).) |
![]() | Write(String) |
Writes string to the stream prefixed by its length in "packed"
format.
(Overrides BinaryWriterWrite(String).) |
![]() | Write(UInt16) |
Writes a two-byte unsigned integer to the current stream and
advances the stream position by two bytes.
(Overrides BinaryWriterWrite(UInt16).) |
![]() | Write(UInt32) |
Writes a four-byte unsigned integer to the current stream and
advances the stream position by four bytes.
(Overrides BinaryWriterWrite(UInt32).) |
![]() | Write(UInt64) |
Writes a eight-byte unsigned integer to the current stream and
advances the stream position by eight bytes.
(Overrides BinaryWriterWrite(UInt64).) |
![]() | Write(Byte, Int32, Int32) | (Inherited from BinaryWriter.) |
![]() | Write(Char, Int32, Int32) | (Inherited from BinaryWriter.) |
![]() | Write7BitEncodedInt | (Inherited from BinaryWriter.) |
![]() | WritePackedInt32 |
Write an Int32 value using a variable-length storage
format.
|
![]() | WritePackedInt64 |
Write an Int64 value using a variable-length storage
format.
|
![]() | WritePackedRawInt128 |
Write a RawInt128 value to DataWriter.
|