BufferReader Class |
Namespace: Demo3D.IO
public sealed class BufferReader : IDataReader, IOffsetDataReader
The BufferReader type exposes the following members.
| Name | Description | |
|---|---|---|
| BufferReader |
Constructs a BufferReader.
|
| 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 packet position..
| |
| Peek |
Returns a new packet pointing to the next length bytes, but does not advance the current packet position.
Implies Ensure(length).
| |
| ReadBit(Int32) |
Reads a bit at the current position in the buffer.
| |
| ReadBit(Int32, Int32) |
Reads a bit at offset in the buffer.
| |
| ReadBoolean |
Reads a boolean at the current position in the buffer.
| |
| ReadBoolean(Int32) |
Reads a boolean at offset in the buffer.
| |
| ReadByte |
Reads a byte at the current position in the buffer.
| |
| ReadByte(Int32) |
Reads a byte at offset in the buffer.
| |
| 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 buffer.
| |
| ReadBytes(Int32, Buffer) |
Reads a number of bytes at offset in the buffer.
| |
| ReadBytes(Int32, Int32) |
Reads a number of bytes at offset in the data.
| |
| ReadChar |
Reads a character at the current position in the buffer.
| |
| ReadChar(Int32) |
Reads a character at offset in the buffer.
| |
| ReadDouble(Endian) |
Reads a 64bit double floating point number at the current position in the buffer.
| |
| ReadDouble(Int32, Endian) |
Reads a 64bit double floating point number at offset in the buffer.
| |
| ReadDoubleBE |
Reads a 64bit double floating point number at the current position in the buffer.
| |
| ReadDoubleBE(Int32) |
Reads a 64bit double floating point number at offset in the buffer.
| |
| ReadDoubleLE |
Reads a 64bit double floating point number at the current position in the buffer.
| |
| ReadDoubleLE(Int32) |
Reads a 64bit double floating point number at offset in the buffer.
| |
| ReadInt16(Endian) |
Reads a 16bit signed integer at the current position in the buffer.
| |
| ReadInt16(Int32, Endian) |
Reads a 16bit signed integer at offset in the buffer.
| |
| ReadInt16BE |
Reads a 16bit signed integer at the current position in the buffer.
| |
| ReadInt16BE(Int32) |
Reads a 16bit signed integer at offset in the buffer.
| |
| ReadInt16LE |
Reads a 16bit signed integer at the current position in the buffer.
| |
| ReadInt16LE(Int32) |
Reads a 16bit signed integer at offset in the buffer.
| |
| ReadInt32(Endian) |
Reads a 32bit signed integer at the current position in the buffer.
| |
| ReadInt32(Int32, Endian) |
Reads a 32bit signed integer at offset in the buffer.
| |
| ReadInt32BE |
Reads a 32bit signed integer at the current position in the buffer.
| |
| ReadInt32BE(Int32) |
Reads a 32bit signed integer at offset in the buffer.
| |
| ReadInt32LE |
Reads a 32bit signed integer at the current position in the buffer.
| |
| ReadInt32LE(Int32) |
Reads a 32bit signed integer at offset in the buffer.
| |
| ReadInt64(Endian) |
Reads a 64bit signed integer at the current position in the buffer.
| |
| ReadInt64(Int32, Endian) |
Reads a 64bit signed integer at offset in the buffer.
| |
| ReadInt64BE |
Reads a 64bit signed integer at the current position in the buffer.
| |
| ReadInt64BE(Int32) |
Reads a 64bit signed integer at offset in the buffer.
| |
| ReadInt64LE |
Reads a 64bit signed integer at the current position in the buffer.
| |
| ReadInt64LE(Int32) |
Reads a 64bit signed integer at offset in the buffer.
| |
| ReadSByte |
Reads a signed byte at the current position in the buffer.
| |
| ReadSByte(Int32) |
Reads a signed byte at offset in the buffer.
| |
| ReadSingle(Endian) |
Reads a 32bit single floating point number at the current position in the buffer.
| |
| ReadSingle(Int32, Endian) |
Reads a 32bit single floating point number at offset in the buffer.
| |
| ReadSingleBE |
Reads a 32bit single floating point number at the current position in the buffer.
| |
| ReadSingleBE(Int32) |
Reads a 32bit single floating point number at offset in the buffer.
| |
| ReadSingleLE |
Reads a 32bit single floating point number at the current position in the buffer.
| |
| ReadSingleLE(Int32) |
Reads a 32bit single floating point number at offset in the buffer.
| |
| ReadString(BinaryTextEncoding) |
Reads a string at the current position in the buffer.
| |
| ReadString(Int32, BinaryTextEncoding) |
Reads a string at offset in the buffer.
| |
| ReadUInt16(Endian) |
Reads a 16bit unsigned integer at the current position in the buffer.
| |
| ReadUInt16(Int32, Endian) |
Reads a 16bit unsigned integer at offset in the buffer.
| |
| ReadUInt16BE |
Reads a 16bit unsigned integer at the current position in the buffer.
| |
| ReadUInt16BE(Int32) |
Reads a 16bit unsigned integer at offset in the buffer.
| |
| ReadUInt16LE |
Reads a 16bit unsigned integer at the current position in the buffer.
| |
| ReadUInt16LE(Int32) |
Reads a 16bit unsigned integer at offset in the buffer.
| |
| ReadUInt32(Endian) |
Reads a 32bit unsigned integer at the current position in the buffer.
| |
| ReadUInt32(Int32, Endian) |
Reads a 32bit unsigned integer at offset in the buffer.
| |
| ReadUInt32BE |
Reads a 32bit unsigned integer at the current position in the buffer.
| |
| ReadUInt32BE(Int32) |
Reads a 32bit unsigned integer at offset in the buffer.
| |
| ReadUInt32LE |
Reads a 32bit unsigned integer at the current position in the buffer.
| |
| ReadUInt32LE(Int32) |
Reads a 32bit unsigned integer at offset in the buffer.
| |
| ReadUInt64(Endian) |
Reads a 64bit unsigned integer at the current position in the buffer.
| |
| ReadUInt64(Int32, Endian) |
Reads a 64bit unsigned integer at offset in the buffer.
| |
| ReadUInt64BE |
Reads a 64bit unsigned integer at the current position in the buffer.
| |
| ReadUInt64BE(Int32) |
Reads a 64bit unsigned integer at offset in the buffer.
| |
| ReadUInt64LE |
Reads a 64bit unsigned integer at the current position in the buffer.
| |
| ReadUInt64LE(Int32) |
Reads a 64bit unsigned integer at offset in the buffer.
|