Writes primitive types in binary to a stream and supports writing strings in a specific encoding.
The following tables list the members exposed by the BinaryWriter type.
(see also Protected Methods )
|Close||Closes the current BinaryWriter and the underlying stream.|
|Equals||Overloaded. Determines whether two Object instances are equal. (inherited from Object)|
|Flush||Clears all buffers for the current writer and causes any buffered data to be written to the underlying device.|
|GetHashCode||Serves as a hash function for a particular type. (inherited from Object)|
|GetType||Gets the Type of the current instance. (inherited from Object)|
|ReferenceEquals||Determines whether the specified Object instances are the same instance. (inherited from Object)|
|Seek||Sets the position within the current stream.|
|ToString||Returns a String that represents the current Object. (inherited from Object)|
|Write||Overloaded. Writes a value to the current stream.|
|Dispose||Releases the unmanaged resources used by the BinaryWriter and optionally releases the managed resources.|
|Finalize||Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)|
|MemberwiseClone||Creates a shallow copy of the current Object. (inherited from Object)|
|Write7BitEncodedInt||Writes a 32-bit integer in a compressed format.|