| BinaryInput Methods |
The BinaryInput type exposes the following members.
| Name | Description | |
|---|---|---|
| Close |
Close this input stream and release any associated system resources. | |
| Dispose |
Cleans up the input stream
| |
| MainTest |
Test client. Reads in a binary input file from standard input and writes
it to standard output. | |
| ReadBoolean |
Reads the next bit of data from standard input and return as a boolean. | |
| ReadByte |
Reads the next 8 bits from standard input and return as an 8-bit byte. | |
| ReadChar |
Reads the next 8 bits from standard input and return as an 8-bit char.
Note that char is a 16-bit type;
to read the next 16 bits as a char, use readChar(16). | |
| ReadChar(Int32) |
Reads the next r bits from standard input and return as an r-bit character. | |
| ReadDouble |
Reads the next 64 bits from standard input and return as a 64-bit double. | |
| ReadFloat |
Reads the next 32 bits from standard input and return as a 32-bit float. | |
| ReadInt |
Reads the next 32 bits from standard input and return as a 32-bit int. | |
| ReadInt(Int32) |
Reads the next r bits from standard input and return as an r-bit int. | |
| ReadLong |
Reads the next 64 bits from standard input and return as a 64-bit long. | |
| ReadShort |
Reads the next 16 bits from standard input and return as a 16-bit short. | |
| ReadString |
Reads the remaining bytes of data from standard input and return as a
string. The method is similar to the ReadToEnd
method of the .NET Framework. |