DataStream..::..Read<(Of <(<'T>)>)> Method (Type)
Reads data of a specified type from the data buffer using a registered reader.
Namespace:
com.onlineobject.objectnetAssembly: ObjectNetAPI (in ObjectNetAPI.dll)
Syntax
Type Parameters
- T
- The type of data to read.
Parameters
- dataType
- Type: Type
The type of data to be read, used to find the appropriate reader.
Return Value
The data read from the buffer.Exceptions
Exception | Condition |
---|---|
Exception | Thrown when the specified type is not supported or the reader is not found. |