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: 10.0.0.0 (10.0.0.0)
Syntax
C#
public sealed class BufferReader : IDataReader, 
	IOffsetDataReader

The BufferReader type exposes the following members.

Constructors
  NameDescription
Public methodBufferReader
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 methodPeek
Returns a new packet pointing to the next length bytes, but does not advance the current packet position. Implies Ensure(length).
Public methodReadBit(Int32)
Reads a bit at the current position in the buffer.
Public methodReadBit(Int32, Int32)
Reads a bit at offset in the buffer.
Public methodReadBoolean
Reads a boolean at the current position in the buffer.
Public methodReadBoolean(Int32)
Reads a boolean at offset in the buffer.
Public methodReadByte
Reads a byte at the current position in the buffer.
Public methodReadByte(Int32)
Reads a byte at offset in the buffer.
Public methodReadBytes(Int32)
Reads a number of bytes at the current position in the data.
Public methodReadBytes(Buffer)
Reads a number of bytes at the current position in the buffer.
Public methodReadBytes(Int32, Buffer)
Reads a number of bytes at offset in the buffer.
Public methodReadBytes(Int32, Int32)
Reads a number of bytes at offset in the data.
Public methodReadChar
Reads a character at the current position in the buffer.
Public methodReadChar(Int32)
Reads a character at offset in the buffer.
Public methodReadDouble(Endian)
Reads a 64bit double floating point number at the current position in the buffer.
Public methodReadDouble(Int32, Endian)
Reads a 64bit double floating point number at offset in the buffer.
Public methodReadDoubleBE
Reads a 64bit double floating point number at the current position in the buffer.
Public methodReadDoubleBE(Int32)
Reads a 64bit double floating point number at offset in the buffer.
Public methodReadDoubleLE
Reads a 64bit double floating point number at the current position in the buffer.
Public methodReadDoubleLE(Int32)
Reads a 64bit double floating point number at offset in the buffer.
Public methodReadInt16(Endian)
Reads a 16bit signed integer at the current position in the buffer.
Public methodReadInt16(Int32, Endian)
Reads a 16bit signed integer at offset in the buffer.
Public methodReadInt16BE
Reads a 16bit signed integer at the current position in the buffer.
Public methodReadInt16BE(Int32)
Reads a 16bit signed integer at offset in the buffer.
Public methodReadInt16LE
Reads a 16bit signed integer at the current position in the buffer.
Public methodReadInt16LE(Int32)
Reads a 16bit signed integer at offset in the buffer.
Public methodReadInt32(Endian)
Reads a 32bit signed integer at the current position in the buffer.
Public methodReadInt32(Int32, Endian)
Reads a 32bit signed integer at offset in the buffer.
Public methodReadInt32BE
Reads a 32bit signed integer at the current position in the buffer.
Public methodReadInt32BE(Int32)
Reads a 32bit signed integer at offset in the buffer.
Public methodReadInt32LE
Reads a 32bit signed integer at the current position in the buffer.
Public methodReadInt32LE(Int32)
Reads a 32bit signed integer at offset in the buffer.
Public methodReadInt64(Endian)
Reads a 64bit signed integer at the current position in the buffer.
Public methodReadInt64(Int32, Endian)
Reads a 64bit signed integer at offset in the buffer.
Public methodReadInt64BE
Reads a 64bit signed integer at the current position in the buffer.
Public methodReadInt64BE(Int32)
Reads a 64bit signed integer at offset in the buffer.
Public methodReadInt64LE
Reads a 64bit signed integer at the current position in the buffer.
Public methodReadInt64LE(Int32)
Reads a 64bit signed integer at offset in the buffer.
Public methodReadSByte
Reads a signed byte at the current position in the buffer.
Public methodReadSByte(Int32)
Reads a signed byte at offset in the buffer.
Public methodReadSingle(Endian)
Reads a 32bit single floating point number at the current position in the buffer.
Public methodReadSingle(Int32, Endian)
Reads a 32bit single floating point number at offset in the buffer.
Public methodReadSingleBE
Reads a 32bit single floating point number at the current position in the buffer.
Public methodReadSingleBE(Int32)
Reads a 32bit single floating point number at offset in the buffer.
Public methodReadSingleLE
Reads a 32bit single floating point number at the current position in the buffer.
Public methodReadSingleLE(Int32)
Reads a 32bit single floating point number at offset in the buffer.
Public methodReadString(BinaryTextEncoding)
Reads a string at the current position in the buffer.
Public methodReadString(Int32, BinaryTextEncoding)
Reads a string at offset in the buffer.
Public methodReadUInt16(Endian)
Reads a 16bit unsigned integer at the current position in the buffer.
Public methodReadUInt16(Int32, Endian)
Reads a 16bit unsigned integer at offset in the buffer.
Public methodReadUInt16BE
Reads a 16bit unsigned integer at the current position in the buffer.
Public methodReadUInt16BE(Int32)
Reads a 16bit unsigned integer at offset in the buffer.
Public methodReadUInt16LE
Reads a 16bit unsigned integer at the current position in the buffer.
Public methodReadUInt16LE(Int32)
Reads a 16bit unsigned integer at offset in the buffer.
Public methodReadUInt32(Endian)
Reads a 32bit unsigned integer at the current position in the buffer.
Public methodReadUInt32(Int32, Endian)
Reads a 32bit unsigned integer at offset in the buffer.
Public methodReadUInt32BE
Reads a 32bit unsigned integer at the current position in the buffer.
Public methodReadUInt32BE(Int32)
Reads a 32bit unsigned integer at offset in the buffer.
Public methodReadUInt32LE
Reads a 32bit unsigned integer at the current position in the buffer.
Public methodReadUInt32LE(Int32)
Reads a 32bit unsigned integer at offset in the buffer.
Public methodReadUInt64(Endian)
Reads a 64bit unsigned integer at the current position in the buffer.
Public methodReadUInt64(Int32, Endian)
Reads a 64bit unsigned integer at offset in the buffer.
Public methodReadUInt64BE
Reads a 64bit unsigned integer at the current position in the buffer.
Public methodReadUInt64BE(Int32)
Reads a 64bit unsigned integer at offset in the buffer.
Public methodReadUInt64LE
Reads a 64bit unsigned integer at the current position in the buffer.
Public methodReadUInt64LE(Int32)
Reads a 64bit unsigned integer at offset in the buffer.
Top
See Also