Click or drag to resize

IDataReader Methods

The IDataReader type exposes the following members.

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