Click or drag to resize

BufferReader Class

Reads data from a buffer.
Inheritance Hierarchy
SystemObject
  Demo3D.IOBufferReader

Namespace: Demo3D.IO
Assembly: Demo3D.IO (in Demo3D.IO.dll) Version: 19.00.00
Syntax
C#
public sealed class BufferReader : IBufferReader, 
	IDataReader, IDataIO, IOffsetDataReader, IDataReferenceReader

The BufferReader type exposes the following members.

Constructors
 NameDescription
Public methodBufferReader(ArraySegmentByte) Constructs a BufferReader.
Public methodBufferReader(Byte) Constructs a BufferReader.
Top
Properties
 NameDescription
Public propertyIsFixed Returns true if this is a fixed size data source.
Public propertyLength Returns the current length of the data.
Public propertyPosition Returns the current position in the data.
Public propertyRemaining Returns the remaining data available.
Top
Methods
 NameDescription
Public methodAdvance Advances the current packet position..
Public methodSeek Sets the current packet position.
Top
Extension Methods
 NameDescription
Public Extension MethodConsume Returns a new data reader pointing to the next length bytes, and advances the current packet position. Implies EnsureAsync(length).
(Defined by DataReaderExtensions)
Public Extension MethodGetString Reads a string from the current position in the buffer. The current position is advanced by the number of bytes read.
(Defined by DataReaderExtensions)
Public Extension MethodPeek Returns a new packet pointing to the next length bytes, but does not advance the current packet position. Implies EnsureAsync(length).
(Defined by DataReaderExtensions)
Public Extension MethodReadBit Reads a bit from the current position in the buffer. The current position is advanced by 1 byte.
(Defined by DataReaderExtensions)
Public Extension MethodReadBit Reads a bit at offset in the buffer.
(Defined by OffsetDataReaderExtensions)
Public Extension MethodReadBoolean Reads a boolean from the current position in the buffer. The current position is advanced by 1 byte.
(Defined by DataReaderExtensions)
Public Extension MethodReadBoolean Reads a boolean at offset in the buffer.
(Defined by OffsetDataReaderExtensions)
Public Extension MethodReadByte Reads a byte from the current position in the buffer. The current position is advanced by 1 byte.
(Defined by DataReaderExtensions)
Public Extension MethodReadByte Reads from the specified offset and returns the data as a value.
(Defined by DataReferenceExtensions)
Public Extension MethodReadBytes 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)
Public Extension MethodReadBytes 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)
Public Extension MethodReadBytes 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)
Public Extension MethodReadBytes Reads a number of bytes at offset in the buffer.
(Defined by OffsetDataReaderExtensions)
Public Extension MethodReadBytes Reads a number of bytes at offset in the buffer.
(Defined by OffsetDataReaderExtensions)
Public Extension MethodReadBytes 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)
Public Extension MethodReadBytes 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)
Public Extension MethodReadBytes Reads a number of bytes at offset in the buffer.
(Defined by OffsetDataReaderExtensions)
Public Extension MethodReadBytes Reads a number of bytes at offset in the buffer.
(Defined by OffsetDataReaderExtensions)
Public Extension MethodReadChar Reads a character from the current position in the buffer. The current position is advanced by 1 byte.
(Defined by DataReaderExtensions)
Public Extension MethodReadChar Reads a character at offset in the buffer.
(Defined by OffsetDataReaderExtensions)
Public Extension MethodReadDouble Reads a 64bit double floating point number at the current position in the buffer.
(Defined by DataReaderExtensions)
Public Extension MethodReadDouble Reads a 64bit double floating point number at offset in the buffer.
(Defined by OffsetDataReaderExtensions)
Public Extension MethodReadDoubleBE Reads a 64bit double floating point number at the current position in the buffer.
(Defined by DataReaderExtensions)
Public Extension MethodReadDoubleBE Reads a 64bit double floating point number at offset in the buffer.
(Defined by OffsetDataReaderExtensions)
Public Extension MethodReadDoubleLE Reads a 64bit double floating point number at the current position in the buffer.
(Defined by DataReaderExtensions)
Public Extension MethodReadDoubleLE Reads from the specified offset and returns the data as a value.
(Defined by DataReferenceExtensions)
Public Extension MethodReadInt16 Reads a 16bit signed integer at the current position in the buffer.
(Defined by DataReaderExtensions)
Public Extension MethodReadInt16 Reads a 16bit signed integer at offset in the buffer.
(Defined by OffsetDataReaderExtensions)
Public Extension MethodReadInt16BE Reads a 16bit signed integer at the current position in the buffer.
(Defined by DataReaderExtensions)
Public Extension MethodReadInt16BE Reads a 16bit signed integer at offset in the buffer.
(Defined by OffsetDataReaderExtensions)
Public Extension MethodReadInt16LE Reads a 16bit signed integer at the current position in the buffer.
(Defined by DataReaderExtensions)
Public Extension MethodReadInt16LE Reads from the specified offset and returns the data as a value.
(Defined by DataReferenceExtensions)
Public Extension MethodReadInt32 Reads a 32bit signed integer at the current position in the buffer.
(Defined by DataReaderExtensions)
Public Extension MethodReadInt32 Reads a 32bit signed integer at offset in the buffer.
(Defined by OffsetDataReaderExtensions)
Public Extension MethodReadInt32BE Reads a 32bit signed integer at the current position in the buffer.
(Defined by DataReaderExtensions)
Public Extension MethodReadInt32BE Reads a 32bit signed integer at offset in the buffer.
(Defined by OffsetDataReaderExtensions)
Public Extension MethodReadInt32LE Reads a 32bit signed integer at the current position in the buffer.
(Defined by DataReaderExtensions)
Public Extension MethodReadInt32LE Reads the memory exchange from the specified offset and returns the data as a value.
(Defined by DataReferenceExtensions)
Public Extension MethodReadInt64 Reads a 64bit signed integer at the current position in the buffer.
(Defined by DataReaderExtensions)
Public Extension MethodReadInt64 Reads a 64bit signed integer at offset in the buffer.
(Defined by OffsetDataReaderExtensions)
Public Extension MethodReadInt64BE Reads a 64bit signed integer at the current position in the buffer.
(Defined by DataReaderExtensions)
Public Extension MethodReadInt64BE Reads a 64bit signed integer at offset in the buffer.
(Defined by OffsetDataReaderExtensions)
Public Extension MethodReadInt64LE Reads a 64bit signed integer at the current position in the buffer.
(Defined by DataReaderExtensions)
Public Extension MethodReadInt64LE Reads from the specified offset and returns the data as a value.
(Defined by DataReferenceExtensions)
Public Extension MethodReadSByte Reads a signed byte from the current position in the buffer. The current position is advanced by 1 byte.
(Defined by DataReaderExtensions)
Public Extension MethodReadSByte Reads from the specified offset and returns the data as a value.
(Defined by DataReferenceExtensions)
Public Extension MethodReadSingle Reads a 32bit single floating point number at the current position in the buffer.
(Defined by DataReaderExtensions)
Public Extension MethodReadSingle Reads a 32bit single floating point number at offset in the buffer.
(Defined by OffsetDataReaderExtensions)
Public Extension MethodReadSingleBE Reads a 32bit single floating point number at the current position in the buffer.
(Defined by DataReaderExtensions)
Public Extension MethodReadSingleBE Reads a 32bit single floating point number at offset in the buffer.
(Defined by OffsetDataReaderExtensions)
Public Extension MethodReadSingleLE Reads a 32bit single floating point number at the current position in the buffer.
(Defined by DataReaderExtensions)
Public Extension MethodReadSingleLE Reads from the specified offset and returns the data as a value.
(Defined by DataReferenceExtensions)
Public Extension MethodReadString Reads a string from the current position in the buffer. The current position is advanced by the number of bytes read.
(Defined by DataReaderExtensions)
Public Extension MethodReadString Reads a string at offset in the buffer.
(Defined by OffsetDataReaderExtensions)
Public Extension MethodReadUInt16 Reads a 16bit unsigned integer at the current position in the buffer.
(Defined by DataReaderExtensions)
Public Extension MethodReadUInt16 Reads a 16bit unsigned integer at offset in the buffer.
(Defined by OffsetDataReaderExtensions)
Public Extension MethodReadUInt16BE Reads a 16bit unsigned integer at the current position in the buffer.
(Defined by DataReaderExtensions)
Public Extension MethodReadUInt16BE Reads a 16bit unsigned integer at offset in the buffer.
(Defined by OffsetDataReaderExtensions)
Public Extension MethodReadUInt16LE Reads a 16bit unsigned integer at the current position in the buffer.
(Defined by DataReaderExtensions)
Public Extension MethodReadUInt16LE Reads from the specified offset and returns the data as a value.
(Defined by DataReferenceExtensions)
Public Extension MethodReadUInt32 Reads a 32bit unsigned integer at the current position in the buffer.
(Defined by DataReaderExtensions)
Public Extension MethodReadUInt32 Reads a 32bit unsigned integer at offset in the buffer.
(Defined by OffsetDataReaderExtensions)
Public Extension MethodReadUInt32BE Reads a 32bit unsigned integer at the current position in the buffer.
(Defined by DataReaderExtensions)
Public Extension MethodReadUInt32BE Reads a 32bit unsigned integer at offset in the buffer.
(Defined by OffsetDataReaderExtensions)
Public Extension MethodReadUInt32LE Reads a 32bit unsigned integer at the current position in the buffer.
(Defined by DataReaderExtensions)
Public Extension MethodReadUInt32LE Reads from the specified offset and returns the data as a value.
(Defined by DataReferenceExtensions)
Public Extension MethodReadUInt64 Reads a 64bit unsigned integer at the current position in the buffer.
(Defined by DataReaderExtensions)
Public Extension MethodReadUInt64 Reads a 64bit unsigned integer at offset in the buffer.
(Defined by OffsetDataReaderExtensions)
Public Extension MethodReadUInt64BE Reads a 64bit unsigned integer at the current position in the buffer.
(Defined by DataReaderExtensions)
Public Extension MethodReadUInt64BE Reads a 64bit unsigned integer at offset in the buffer.
(Defined by OffsetDataReaderExtensions)
Public Extension MethodReadUInt64LE Reads a 64bit unsigned integer at the current position in the buffer.
(Defined by DataReaderExtensions)
Public Extension MethodReadUInt64LE Reads from the specified offset and returns the data as a value.
(Defined by DataReferenceExtensions)
Top
See Also