Binary |
The BinaryReader type exposes the following members.
| Name | Description | |
|---|---|---|
| Close | Closes the current BinaryReader and the underlying file. | |
| Dispose | Disposes the current BinaryReader and the underlying file and then suppresses further disposing. | |
| Dispose(Boolean) | Checks to see if Dispose has already been called. | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize |
BinaryReader Destructor.
(Overrides ObjectFinalize) | |
| 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) | |
| PeekChar | Returns the next available character in the file, but does not change the position in the file. | |
| Read | Reads the next available character in the file and moves the current file pointer forward according to the current encoding. | |
| Read(Byte, Int32, Int32) | Reads count bytes from the stream with index as the starting point in the byte array. | |
| Read(Char, Int32, Int32) | Reads count characters from the stream with index as the starting point in the character array. | |
| ReadBoolean | Reads a boolean value from the file at the current position and advances the file pointer by one byte. | |
| ReadByte | Reads the next byte from the current stream and advances the current file pointer by one byte. | |
| ReadBytes | Reads the specified number of bytes from the current file into a byte array and moves the file pointer forward by the number of bytes read. | |
| ReadChar | Reads the next character from the file and moves the file pointer forward the number of bytes specified by the encoding. | |
| ReadChars | Reads the number of characters specified from the file. The data is returned in a character array and the file pointer is moved forward according to the encoding of the file. | |
| ReadDecimal | Reads a decimal value from the current file and moves the file pointer forward by sixteen bytes. | |
| ReadDouble | Reads a double from the current file and moves the file pointer forward by eight bytes. | |
| ReadInt16 | Reads a short from the current file and moves the file pointer forward by two bytes. | |
| ReadInt32 | Reads a integer from the current file and moves the file pointer forward by four bytes. | |
| ReadInt64 | Reads a long from the current file and moves the file pointer forward by eight bytes. | |
| ReadSByte | Reads a signed byte from this stream and advances the current position of the stream by one byte. | |
| ReadSingle | Reads a float from the current file and moves the file pointer forward by four bytes. | |
| ReadString | Reads a string from the current file. The string is prefixed with the length, encoded as an integer seven bits at a time. The file pointer is moved forward the size of the string. | |
| ReadUInt16 | Reads an unsigned short from the current file and moves the file pointer forward by two bytes. | |
| ReadUInt32 | Reads an unsigned integer from the current file and moves the file pointer forward by four bytes. | |
| ReadUInt64 | Reads a unsigned long from the current file and moves the file pointer forward by eight bytes. | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |