IDataReader Interface |
Namespace: Demo3D.IO
public interface IDataReader
The IDataReader type exposes the following members.
| Name | Description | |
|---|---|---|
| IsFixed |
Returns true if this is a fixed size data source.
| |
| Length |
Returns the current length of the data.
| |
| Position |
Returns the current position in the data.
| |
| Remaining |
Returns the remaining data available.
|
| Name | Description | |
|---|---|---|
| Advance |
Advances the current data position..
| |
| Peek |
Returns a new data reader pointing to the next length bytes, but does not advance the current packet position.
Implies Ensure(length).
| |
| ReadBit |
Reads a bit at the current position in the data.
| |
| ReadBoolean |
Reads a boolean at the current position in the data.
| |
| ReadByte |
Reads a byte at the current position in the data.
| |
| ReadBytes(Int32) |
Reads a number of bytes at the current position in the data.
| |
| ReadBytes(Buffer) |
Reads a number of bytes at the current position in the data.
| |
| ReadChar |
Reads a character at the current position in the data.
| |
| ReadDouble |
Reads a 64bit double floating point number at the current position in the data.
| |
| ReadDoubleBE |
Reads a 64bit double floating point number at the current position in the data.
| |
| ReadDoubleLE |
Reads a 64bit double floating point number at the current position in the data.
| |
| ReadInt16 |
Reads a 16bit signed integer at the current position in the data.
| |
| ReadInt16BE |
Reads a 16bit signed integer at the current position in the data.
| |
| ReadInt16LE |
Reads a 16bit signed integer at the current position in the data.
| |
| ReadInt32 |
Reads a 32bit signed integer at the current position in the data.
| |
| ReadInt32BE |
Reads a 32bit signed integer at the current position in the data.
| |
| ReadInt32LE |
Reads a 32bit signed integer at the current position in the data.
| |
| ReadInt64 |
Reads a 64bit signed integer at the current position in the data.
| |
| ReadInt64BE |
Reads a 64bit signed integer at the current position in the data.
| |
| ReadInt64LE |
Reads a 64bit signed integer at the current position in the data.
| |
| ReadSByte |
Reads a signed byte at the current position in the data.
| |
| ReadSingle |
Reads a 32bit single floating point number at the current position in the data.
| |
| ReadSingleBE |
Reads a 32bit single floating point number at the current position in the data.
| |
| ReadSingleLE |
Reads a 32bit single floating point number at the current position in the data.
| |
| ReadString |
Reads a string at the current position in the data.
| |
| ReadUInt16 |
Reads a 16bit unsigned integer at the current position in the data.
| |
| ReadUInt16BE |
Reads a 16bit unsigned integer at the current position in the data.
| |
| ReadUInt16LE |
Reads a 16bit unsigned integer at the current position in the data.
| |
| ReadUInt32 |
Reads a 32bit unsigned integer at the current position in the data.
| |
| ReadUInt32BE |
Reads a 32bit unsigned integer at the current position in the data.
| |
| ReadUInt32LE |
Reads a 32bit unsigned integer at the current position in the data.
| |
| ReadUInt64 |
Reads a 64bit unsigned integer at the current position in the data.
| |
| ReadUInt64BE |
Reads a 64bit unsigned integer at the current position in the data.
| |
| ReadUInt64LE |
Reads a 64bit unsigned integer at the current position in the data.
|