Click or drag to resize

DataReaderExtensions Class

IDataReader extensions.
Inheritance Hierarchy
SystemObject
  Demo3D.IODataReaderExtensions

Namespace:  Demo3D.IO
Assembly:  Demo3D.IO (in Demo3D.IO.dll) Version: 15.0.2.11458
Syntax
C#
public static class DataReaderExtensions

The DataReaderExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberConsume
Returns a new data reader pointing to the next length bytes, and advances the current packet position. Implies EnsureAsync(length).
Public methodStatic memberGetString
Reads a string from the current position in the buffer. The current position is advanced by the number of bytes read.
Public methodStatic memberPeek
Returns a new packet pointing to the next length bytes, but does not advance the current packet position. Implies EnsureAsync(length).
Public methodStatic memberReadBit
Reads a bit from the current position in the buffer. The current position is advanced by 1 byte.
Public methodStatic memberReadBoolean
Reads a boolean from the current position in the buffer. The current position is advanced by 1 byte.
Public methodStatic memberReadByte
Reads a byte from the current position in the buffer. The current position is advanced by 1 byte.
Public methodStatic memberReadBytes(IDataReader, ArraySegmentByte)
Reads a number of bytes from the current position in the buffer. The current position is advanced by the number of bytes read.
Public methodStatic memberReadBytes(IDataReader, Int32)
Reads a number of bytes from the current position in the buffer. The current position is advanced by the number of bytes read.
Public methodStatic memberReadBytes(IDataReader, IDataWriter, Int32)
Reads a number of bytes from the current position in the buffer. The current position is advanced by the number of bytes read.
Public methodStatic memberReadBytes(IDataReader, ArraySegmentByte, Int32, Int32)
Reads a number of bytes from the current position in the buffer. The current position is advanced by the number of bytes read.
Public methodStatic memberReadBytes(IDataReader, Byte, Int32, Int32)
Reads a number of bytes from the current position in the buffer. The current position is advanced by the number of bytes read.
Public methodStatic memberReadChar
Reads a character from the current position in the buffer. The current position is advanced by 1 byte.
Public methodStatic memberReadDouble
Reads a 64bit double floating point number at the current position in the buffer.
Public methodStatic memberReadDoubleBE
Reads a 64bit double floating point number at the current position in the buffer.
Public methodStatic memberReadDoubleLE
Reads a 64bit double floating point number at the current position in the buffer.
Public methodStatic memberReadInt16
Reads a 16bit signed integer at the current position in the buffer.
Public methodStatic memberReadInt16BE
Reads a 16bit signed integer at the current position in the buffer.
Public methodStatic memberReadInt16LE
Reads a 16bit signed integer at the current position in the buffer.
Public methodStatic memberReadInt32
Reads a 32bit signed integer at the current position in the buffer.
Public methodStatic memberReadInt32BE
Reads a 32bit signed integer at the current position in the buffer.
Public methodStatic memberReadInt32LE
Reads a 32bit signed integer at the current position in the buffer.
Public methodStatic memberReadInt64
Reads a 64bit signed integer at the current position in the buffer.
Public methodStatic memberReadInt64BE
Reads a 64bit signed integer at the current position in the buffer.
Public methodStatic memberReadInt64LE
Reads a 64bit signed integer at the current position in the buffer.
Public methodStatic memberReadSByte
Reads a signed byte from the current position in the buffer. The current position is advanced by 1 byte.
Public methodStatic memberReadSingle
Reads a 32bit single floating point number at the current position in the buffer.
Public methodStatic memberReadSingleBE
Reads a 32bit single floating point number at the current position in the buffer.
Public methodStatic memberReadSingleLE
Reads a 32bit single floating point number at the current position in the buffer.
Public methodStatic memberReadString
Reads a string from the current position in the buffer. The current position is advanced by the number of bytes read.
Public methodStatic memberReadUInt16
Reads a 16bit unsigned integer at the current position in the buffer.
Public methodStatic memberReadUInt16BE
Reads a 16bit unsigned integer at the current position in the buffer.
Public methodStatic memberReadUInt16LE
Reads a 16bit unsigned integer at the current position in the buffer.
Public methodStatic memberReadUInt32
Reads a 32bit unsigned integer at the current position in the buffer.
Public methodStatic memberReadUInt32BE
Reads a 32bit unsigned integer at the current position in the buffer.
Public methodStatic memberReadUInt32LE
Reads a 32bit unsigned integer at the current position in the buffer.
Public methodStatic memberReadUInt64
Reads a 64bit unsigned integer at the current position in the buffer.
Public methodStatic memberReadUInt64BE
Reads a 64bit unsigned integer at the current position in the buffer.
Public methodStatic memberReadUInt64LE
Reads a 64bit unsigned integer at the current position in the buffer.
Top
See Also