com.onlineobject.objectnet Namespace

Vector2Stream..::..Write Method

Writes the Vector2 data into a byte buffer.

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

Syntax


public int Write(

	Vector2 data,

	ref byte[] buffer,

	ref int offset

)

Parameters

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

Return Value

The number of bytes written to the buffer.