Writes primitive types in binary to a stream and supports writing strings in a specific encoding.
The BinaryWriter type exposes the following members.
|Close||Closes the current BinaryWriter and the underlying stream.|
|Dispose||Releases the unmanaged resources used by the BinaryWriter and optionally releases the managed resources.|
|Equals||Determines whether the specified Object is equal to the current Object. (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.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (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.|
|Write7BitEncodedInt||Writes a 32-bit integer in a compressed format.|