com.onlineobject.objectnet Namespace

DataStream..::..Read<(Of <(<'T>)>)> Method (Int32)

Reads data of type T from the buffer at a specific offset.

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

Syntax


public T Read<T>(

	int offset

)

Type Parameters

T
The type of data to read from the buffer.

Parameters

offset
Type: Int32
The offset in the buffer from which to start reading.

Return Value

The data read from the buffer.

Exceptions


ExceptionCondition
ExceptionThrown when the type T is not supported or does not have a reader.