Reads Vector2 data from a byte buffer.
Namespace:
com.onlineobject.objectnet
Assembly:
ObjectNetAPI (in ObjectNetAPI.dll)
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.