com.onlineobject.objectnet Namespace

Vector2Stream..::..Read Method

Reads Vector2 data from a byte buffer.

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

Syntax


public Vector2 Read(

	byte[] buffer,

	ref int offset

)

Parameters

buffer
Type: array<Byte>[]()[][]
The byte array buffer to read the data from.
offset
Type: Int32%
The current offset in the buffer. Will be updated after the read operation.

Return Value

The Vector2 object read from the buffer.