Writes a Color object to a byte array buffer.
Namespace:
com.onlineobject.objectnet
Assembly:
ObjectNetAPI (in ObjectNetAPI.dll)
public int Write(
Color data,
ref byte[] buffer,
ref int offset
)
Parameters
- data
- Type: Color
The Color object to write.
- buffer
- Type: array<Byte>[]()[][]%
The byte array buffer to write to.
- offset
- Type: Int32%
The current offset in the buffer. Will be updated after write.
Return Value
The number of bytes written.