CorLib  

BinaryReader

BinaryReader overview

Implements:

IObject 

Public:

Properties:
BaseStream (get) Returns the underlying Stream being read by the Reader.  
Methods:
CloseReader Closes the reader and underlying Stream.  
Equals Returns a boolean indicating if the value and this object instance are the same instance.  
GetHashCode Returns a pseudo-unique number identifying this instance.  
PeekChar Returns the next character to be decoded from the byte stream. The position in the stream is not advanced after the read.  
Read Fills either a Byte array or Integer array with the specified number of elements. Or returns the next character to be decoded from the stream.  
ReadBoolean Returns a boolean from the stream.  
ReadByte Reads the next byte in the stream, and advances the position one byte.  
ReadBytes Reads the specified number of bytes from the stream and returns them in an array.  
ReadChar Reads the next decode character in the stream, and advances the position the number of bytes requirece to assemble a single character.  
ReadChars Returns a specified number of characters decoded from the stream.  
ReadCurrency Reads 8 bytes from the stream and returns them as a Currency datatype.  
ReadDate Reads 8 bytes from the stream and returns them as a Date datatype.  
ReadDecimal Reads 16 bytes from the stream and returns them as a Variant Decimal datatype.  
ReadDouble Reads 8 bytes from the stream and returns them as a Double datatype.  
ReadInt16 Reads 2 bytes from the stream and returns them as an Integer datatype.  
ReadInt32 Reads 4 bytes from the stream and returns them as a Long datatype.  
ReadSingle Reads 4 bytes from the stream and returns them as a Single datatype.  
ReadString Reads a String from the stream.  
ToString Returns a string representation of this object instance.  

See Also