Interface for a binary reader. More...
Public Member Functions | |
int | Read (byte[] buffer, int offset, int count) |
Reads bytes from the stream. More... | |
bool | ReadBoolean () |
Reads a boolean from the stream. More... | |
byte | ReadByte () |
Reads a byte from the stream. More... | |
byte[] | ReadBytes (int length) |
Reads bytes from the stream. More... | |
char | ReadChar () |
Reads a char from the stream. More... | |
double | ReadDouble () |
Reads a double from the stream. More... | |
short | ReadInt16 () |
Reads a short from the stream. More... | |
int | ReadInt32 () |
Reads an integer from the stream. More... | |
long | ReadInt64 () |
Eeads a long from the stream. More... | |
float | ReadSingle () |
Reads an 4-byte floating point value from the stream. More... | |
Properties | |
Stream | BaseStream [get] |
Gets the base stream. More... | |
Interface for a binary reader.
int ExitGames.IO.IBinaryReader.Read | ( | byte[] | buffer, |
int | offset, | ||
int | count | ||
) |
Reads bytes from the stream.
buffer | The buffer. |
offset | The offset. |
count | The count. |
Implemented in ExitGames.IO.BigEndianBinaryReader.
bool ExitGames.IO.IBinaryReader.ReadBoolean | ( | ) |
Reads a boolean from the stream.
Implemented in ExitGames.IO.BigEndianBinaryReader.
byte ExitGames.IO.IBinaryReader.ReadByte | ( | ) |
Reads a byte from the stream.
Implemented in ExitGames.IO.BigEndianBinaryReader.
byte [] ExitGames.IO.IBinaryReader.ReadBytes | ( | int | length | ) |
Reads bytes from the stream.
length | The length. |
Implemented in ExitGames.IO.BigEndianBinaryReader.
char ExitGames.IO.IBinaryReader.ReadChar | ( | ) |
Reads a char from the stream.
Implemented in ExitGames.IO.BigEndianBinaryReader.
double ExitGames.IO.IBinaryReader.ReadDouble | ( | ) |
Reads a double from the stream.
Implemented in ExitGames.IO.BigEndianBinaryReader.
short ExitGames.IO.IBinaryReader.ReadInt16 | ( | ) |
Reads a short from the stream.
Implemented in ExitGames.IO.BigEndianBinaryReader.
int ExitGames.IO.IBinaryReader.ReadInt32 | ( | ) |
Reads an integer from the stream.
Implemented in ExitGames.IO.BigEndianBinaryReader.
long ExitGames.IO.IBinaryReader.ReadInt64 | ( | ) |
Eeads a long from the stream.
Implemented in ExitGames.IO.BigEndianBinaryReader.
float ExitGames.IO.IBinaryReader.ReadSingle | ( | ) |
Reads an 4-byte floating point value from the stream.
Implemented in ExitGames.IO.BigEndianBinaryReader.
|
get |
Gets the base stream.