com.onlineobject.objectnet Namespace

DataHandler<(Of <(<'T>)>)>..::..Write Method (T, array<Byte>[]()[][]%, Int32%)

Writes data of type T to a buffer at a specified offset.

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

Syntax


public virtual int Write(

	T data,

	ref byte[] buffer,

	ref int offset

)

Parameters

data
Type: T
The data to write.
buffer
Type: array<Byte>[]()[][]%
The buffer to write the data to.
offset
Type: Int32%
The offset in the buffer at which to start writing.

Return Value

The number of bytes written to the buffer.