BufferReader Class | 
Namespace: Demo3D.IO
public sealed class BufferReader : IBufferReader, IDataReader, IDataIO, IOffsetDataReader, IDataReferenceReader
The BufferReader type exposes the following members.
| Name | Description | |
|---|---|---|
| BufferReader(ArraySegmentByte) | 
            Constructs a BufferReader.
              | |
| BufferReader(Byte) | 
            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..
              | |
| Seek | 
            Sets the current packet position.
              | 
| Name | Description | |
|---|---|---|
| Consume | 
            Returns a new data reader pointing to the next length bytes, and advances the current packet position.
            Implies EnsureAsync(length).
              (Defined by DataReaderExtensions.) | |
| GetString | 
            Reads a string from the current position in the buffer.
            The current position is advanced by the number of bytes read.
              (Defined by DataReaderExtensions.) | |
| Peek | 
            Returns a new packet pointing to the next length bytes, but does not advance the current packet position.
            Implies EnsureAsync(length).
              (Defined by DataReaderExtensions.) | |
| ReadBit(Int32) | Overloaded.   
            Reads a bit from the current position in the buffer.
            The current position is advanced by 1 byte.
              (Defined by DataReaderExtensions.) | |
| ReadBit(Int32, Int32) | Overloaded.   
            Reads a bit at offset in the buffer.
              (Defined by OffsetDataReaderExtensions.) | |
| ReadBoolean | Overloaded.   
            Reads a boolean from the current position in the buffer.
            The current position is advanced by 1 byte.
              (Defined by DataReaderExtensions.) | |
| ReadBoolean(Int32) | Overloaded.   
            Reads a boolean at offset in the buffer.
              (Defined by OffsetDataReaderExtensions.) | |
| ReadByte | Overloaded.   
            Reads a byte from the current position in the buffer.
            The current position is advanced by 1 byte.
              (Defined by DataReaderExtensions.) | |
| ReadByte(Int32) | Overloaded.   
            Reads from the specified offset and returns the data as a value.
              (Defined by DataReferenceExtensions.) | |
| ReadBytes(ArraySegmentByte) | Overloaded.   
            Reads a number of bytes from the current position in the buffer.
            The current position is advanced by the number of bytes read.
              (Defined by DataReaderExtensions.) | |
| ReadBytes(Int32) | Overloaded.   
            Reads a number of bytes from the current position in the buffer.
            The current position is advanced by the number of bytes read.
              (Defined by DataReaderExtensions.) | |
| ReadBytes(IDataWriter, Int32) | Overloaded.   
            Reads a number of bytes from the current position in the buffer.
            The current position is advanced by the number of bytes read.
              (Defined by DataReaderExtensions.) | |
| ReadBytes(Int32, Int32) | Overloaded.   
            Reads a number of bytes at offset in the buffer.
              (Defined by OffsetDataReaderExtensions.) | |
| ReadBytes(Int32, ArraySegmentByte) | Overloaded.   
            Reads a number of bytes at offset in the buffer.
              (Defined by OffsetDataReaderExtensions.) | |
| ReadBytes(ArraySegmentByte, Int32, Int32) | Overloaded.   
            Reads a number of bytes from the current position in the buffer.
            The current position is advanced by the number of bytes read.
              (Defined by DataReaderExtensions.) | |
| ReadBytes(Byte, Int32, Int32) | Overloaded.   
            Reads a number of bytes from the current position in the buffer.
            The current position is advanced by the number of bytes read.
              (Defined by DataReaderExtensions.) | |
| ReadBytes(Int32, IDataWriter, Int32) | Overloaded.   
            Reads a number of bytes at offset in the buffer.
              (Defined by OffsetDataReaderExtensions.) | |
| ReadBytes(Int32, Byte, Int32, Int32) | Overloaded.   
            Reads a number of bytes at offset in the buffer.
              (Defined by OffsetDataReaderExtensions.) | |
| ReadChar | Overloaded.   
            Reads a character from the current position in the buffer.
            The current position is advanced by 1 byte.
              (Defined by DataReaderExtensions.) | |
| ReadChar(Int32) | Overloaded.   
            Reads a character at offset in the buffer.
              (Defined by OffsetDataReaderExtensions.) | |
| ReadDouble(Endian) | Overloaded.   
            Reads a 64bit double floating point number at the current position in the buffer.
              (Defined by DataReaderExtensions.) | |
| ReadDouble(Int32, Endian) | Overloaded.   
            Reads a 64bit double floating point number at offset in the buffer.
              (Defined by OffsetDataReaderExtensions.) | |
| ReadDoubleBE | Overloaded.   
            Reads a 64bit double floating point number at the current position in the buffer.
              (Defined by DataReaderExtensions.) | |
| ReadDoubleBE(Int32) | Overloaded.   
            Reads a 64bit double floating point number at offset in the buffer.
              (Defined by OffsetDataReaderExtensions.) | |
| ReadDoubleLE | Overloaded.   
            Reads a 64bit double floating point number at the current position in the buffer.
              (Defined by DataReaderExtensions.) | |
| ReadDoubleLE(Int32) | Overloaded.   
            Reads from the specified offset and returns the data as a value.
              (Defined by DataReferenceExtensions.) | |
| ReadInt16(Endian) | Overloaded.   
            Reads a 16bit signed integer at the current position in the buffer.
              (Defined by DataReaderExtensions.) | |
| ReadInt16(Int32, Endian) | Overloaded.   
            Reads a 16bit signed integer at offset in the buffer.
              (Defined by OffsetDataReaderExtensions.) | |
| ReadInt16BE | Overloaded.   
            Reads a 16bit signed integer at the current position in the buffer.
              (Defined by DataReaderExtensions.) | |
| ReadInt16BE(Int32) | Overloaded.   
            Reads a 16bit signed integer at offset in the buffer.
              (Defined by OffsetDataReaderExtensions.) | |
| ReadInt16LE | Overloaded.   
            Reads a 16bit signed integer at the current position in the buffer.
              (Defined by DataReaderExtensions.) | |
| ReadInt16LE(Int32) | Overloaded.   
            Reads from the specified offset and returns the data as a value.
              (Defined by DataReferenceExtensions.) | |
| ReadInt32(Endian) | Overloaded.   
            Reads a 32bit signed integer at the current position in the buffer.
              (Defined by DataReaderExtensions.) | |
| ReadInt32(Int32, Endian) | Overloaded.   
            Reads a 32bit signed integer at offset in the buffer.
              (Defined by OffsetDataReaderExtensions.) | |
| ReadInt32BE | Overloaded.   
            Reads a 32bit signed integer at the current position in the buffer.
              (Defined by DataReaderExtensions.) | |
| ReadInt32BE(Int32) | Overloaded.   
            Reads a 32bit signed integer at offset in the buffer.
              (Defined by OffsetDataReaderExtensions.) | |
| ReadInt32LE | Overloaded.   
            Reads a 32bit signed integer at the current position in the buffer.
              (Defined by DataReaderExtensions.) | |
| ReadInt32LE(Int32) | Overloaded.   
            Reads the memory exchange from the specified offset and returns the data as a value.
              (Defined by DataReferenceExtensions.) | |
| ReadInt64(Endian) | Overloaded.   
            Reads a 64bit signed integer at the current position in the buffer.
              (Defined by DataReaderExtensions.) | |
| ReadInt64(Int32, Endian) | Overloaded.   
            Reads a 64bit signed integer at offset in the buffer.
              (Defined by OffsetDataReaderExtensions.) | |
| ReadInt64BE | Overloaded.   
            Reads a 64bit signed integer at the current position in the buffer.
              (Defined by DataReaderExtensions.) | |
| ReadInt64BE(Int32) | Overloaded.   
            Reads a 64bit signed integer at offset in the buffer.
              (Defined by OffsetDataReaderExtensions.) | |
| ReadInt64LE | Overloaded.   
            Reads a 64bit signed integer at the current position in the buffer.
              (Defined by DataReaderExtensions.) | |
| ReadInt64LE(Int32) | Overloaded.   
            Reads from the specified offset and returns the data as a value.
              (Defined by DataReferenceExtensions.) | |
| ReadSByte | Overloaded.   
            Reads a signed byte from the current position in the buffer.
            The current position is advanced by 1 byte.
              (Defined by DataReaderExtensions.) | |
| ReadSByte(Int32) | Overloaded.   
            Reads from the specified offset and returns the data as a value.
              (Defined by DataReferenceExtensions.) | |
| ReadSingle(Endian) | Overloaded.   
            Reads a 32bit single floating point number at the current position in the buffer.
              (Defined by DataReaderExtensions.) | |
| ReadSingle(Int32, Endian) | Overloaded.   
            Reads a 32bit single floating point number at offset in the buffer.
              (Defined by OffsetDataReaderExtensions.) | |
| ReadSingleBE | Overloaded.   
            Reads a 32bit single floating point number at the current position in the buffer.
              (Defined by DataReaderExtensions.) | |
| ReadSingleBE(Int32) | Overloaded.   
            Reads a 32bit single floating point number at offset in the buffer.
              (Defined by OffsetDataReaderExtensions.) | |
| ReadSingleLE | Overloaded.   
            Reads a 32bit single floating point number at the current position in the buffer.
              (Defined by DataReaderExtensions.) | |
| ReadSingleLE(Int32) | Overloaded.   
            Reads from the specified offset and returns the data as a value.
              (Defined by DataReferenceExtensions.) | |
| ReadString(BinaryTextEncoding) | Overloaded.   
            Reads a string from the current position in the buffer.
            The current position is advanced by the number of bytes read.
              (Defined by DataReaderExtensions.) | |
| ReadString(Int32, BinaryTextEncoding) | Overloaded.   
            Reads a string at offset in the buffer.
              (Defined by OffsetDataReaderExtensions.) | |
| ReadUInt16(Endian) | Overloaded.   
            Reads a 16bit unsigned integer at the current position in the buffer.
              (Defined by DataReaderExtensions.) | |
| ReadUInt16(Int32, Endian) | Overloaded.   
            Reads a 16bit unsigned integer at offset in the buffer.
              (Defined by OffsetDataReaderExtensions.) | |
| ReadUInt16BE | Overloaded.   
            Reads a 16bit unsigned integer at the current position in the buffer.
              (Defined by DataReaderExtensions.) | |
| ReadUInt16BE(Int32) | Overloaded.   
            Reads a 16bit unsigned integer at offset in the buffer.
              (Defined by OffsetDataReaderExtensions.) | |
| ReadUInt16LE | Overloaded.   
            Reads a 16bit unsigned integer at the current position in the buffer.
              (Defined by DataReaderExtensions.) | |
| ReadUInt16LE(Int32) | Overloaded.   
            Reads from the specified offset and returns the data as a value.
              (Defined by DataReferenceExtensions.) | |
| ReadUInt32(Endian) | Overloaded.   
            Reads a 32bit unsigned integer at the current position in the buffer.
              (Defined by DataReaderExtensions.) | |
| ReadUInt32(Int32, Endian) | Overloaded.   
            Reads a 32bit unsigned integer at offset in the buffer.
              (Defined by OffsetDataReaderExtensions.) | |
| ReadUInt32BE | Overloaded.   
            Reads a 32bit unsigned integer at the current position in the buffer.
              (Defined by DataReaderExtensions.) | |
| ReadUInt32BE(Int32) | Overloaded.   
            Reads a 32bit unsigned integer at offset in the buffer.
              (Defined by OffsetDataReaderExtensions.) | |
| ReadUInt32LE | Overloaded.   
            Reads a 32bit unsigned integer at the current position in the buffer.
              (Defined by DataReaderExtensions.) | |
| ReadUInt32LE(Int32) | Overloaded.   
            Reads from the specified offset and returns the data as a value.
              (Defined by DataReferenceExtensions.) | |
| ReadUInt64(Endian) | Overloaded.   
            Reads a 64bit unsigned integer at the current position in the buffer.
              (Defined by DataReaderExtensions.) | |
| ReadUInt64(Int32, Endian) | Overloaded.   
            Reads a 64bit unsigned integer at offset in the buffer.
              (Defined by OffsetDataReaderExtensions.) | |
| ReadUInt64BE | Overloaded.   
            Reads a 64bit unsigned integer at the current position in the buffer.
              (Defined by DataReaderExtensions.) | |
| ReadUInt64BE(Int32) | Overloaded.   
            Reads a 64bit unsigned integer at offset in the buffer.
              (Defined by OffsetDataReaderExtensions.) | |
| ReadUInt64LE | Overloaded.   
            Reads a 64bit unsigned integer at the current position in the buffer.
              (Defined by DataReaderExtensions.) | |
| ReadUInt64LE(Int32) | Overloaded.   
            Reads from the specified offset and returns the data as a value.
              (Defined by DataReferenceExtensions.) |