BinaryWriter

BinaryWriter


Provides methods to write typed information to a stream.


Remarks

The datatypes that are written to the stream are written in their binary form. The value are written as they are represented in memory. For example, as datatype of vbLong is written as 4 bytes, regardless of the actual value of the vbLong variable.

See Also

Project VBCorLib Overview | Constructors | BinaryReader

Implements:

IObject 

Public:

Properties:

NameDescription
 BaseStream (get)Returns the underlying stream this writer is writing to. 

Methods:

NameDescription
 CloseWriterCloses the writer, flushing any data. 
 EqualsReturns a boolean indicating if the value and this object instance are the same instance. 
 FlushTells the underlying stream to store its data to its repository. 
 GetHashCodeReturns a pseudo-unique number identifying this instance. 
 SeekPositionSets the underlying streams current position. 
 ToStringReturns a string representation of this object instance. 
 WriteCharWrites a character to the underlying stream. 
 WriteValueWrites the binary representation of a datatype to the underlying stream.