com.onlineobject.objectnet Namespace

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

Reads data from a buffer and updates the offset.

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

Syntax


T Read(

	byte[] buffer,

	ref int offset

)

Parameters

buffer
Type: array<Byte>[]()[][]
The byte array to read from.
offset
Type: Int32%
The reference to the current position in the buffer, which will be updated after the read operation.

Return Value

The data read from the buffer, of type T.