com.onlineobject.objectnet Namespace

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

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

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

Syntax


public virtual E Read<E>(

	byte[] buffer,

	ref int offset

)

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.

Return Value

The data read from the buffer.