DataStream..::..Read<(Of <(<'T>)>)> Method (Boolean)
Reads data of type T from the buffer, with an option to rewind the buffer index before reading.
Namespace:
com.onlineobject.objectnetAssembly: ObjectNetAPI (in ObjectNetAPI.dll)
Syntax
Type Parameters
- T
- The type of data to read from the buffer.
Parameters
- rewind
- Type: Boolean
Whether to rewind the buffer index before reading.
Return Value
The data read from the buffer.Exceptions
Exception | Condition |
---|---|
Exception | Thrown when the type T is not supported or does not have a reader. |