com.onlineobject.objectnet Namespace

DataHandler<(Of <(<'T>)>)>..::..Read<(Of <(<'E>)>)> Method (array<Byte>[]()[][], Int32%, Type)

Reads data of type E from a buffer at a specified offset, using a specified data type.

Namespace:  com.onlineobject.objectnet
Assembly:  ObjectNetAPI (in ObjectNetAPI.dll)

Syntax


public virtual E Read<E>(

	byte[] buffer,

	ref int offset,

	Type dataType

)

Type Parameters

E
The type of data to read.

Parameters

buffer
Type: array<Byte>[]()[][]
The buffer to read the data from.
offset
Type: Int32%
The offset in the buffer at which to start reading.
dataType
Type: Type
The type of the data to read.

Return Value

The data read from the buffer.