DataStream..::..Write<(Of <(<'T>)>)> Method (T, Int32)
Writes data of a specified type to the data buffer at a specific offset using a registered writer.
Namespace:
com.onlineobject.objectnetAssembly: ObjectNetAPI (in ObjectNetAPI.dll)
Syntax
Type Parameters
- T
- The type of data to write.
Parameters
- data
- Type: T
The data to be written to the buffer.
- offset
- Type: Int32
The offset at which to start writing the data.
Exceptions
Exception | Condition |
---|---|
Exception | Thrown when the specified type is not supported or the writer is not found. |