com.onlineobject.objectnet Namespace

IWritter..::..Write Method

Writes the specified data into the provided byte buffer starting at the given offset.

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

Syntax


int Write(

	Object data,

	ref byte[] buffer,

	ref int offset,

	Type dataType

)

Parameters

data
Type: Object
The data to be written.
buffer
Type: array<Byte>[]()[][]%
The byte array to write the data to. This array will be modified by the method.
offset
Type: Int32%
The starting position within the buffer at which to begin writing. This value will be updated to reflect the new position after writing.
dataType
Type: Type
The type of the data to be written.

Return Value

The number of bytes written to the buffer.