com.onlineobject.objectnet Namespace

IReader..::..Read<(Of <(<'E>)>)> Method

Reads data from a byte array and converts it into the specified type.

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

Syntax


E Read<E>(

	byte[] buffer,

	ref int offset,

	Type dataType

)

Type Parameters

E
The type of the data to be read.

Parameters

buffer
Type: array<Byte>[]()[][]
The byte array containing the data to read.
offset
Type: Int32%
The starting position within the buffer. This value is updated with the new position after the read operation.
dataType
Type: Type
The Type of the data to be read. This is used for type checking and conversion.

Return Value

The data read from the buffer, converted to the specified type.