PacketReaderPacketIOMethodsReadDataAsync Method |
Reads and returns numBytes of data.
Namespace:
Demo3D.IO
Assembly:
Demo3D.IO (in Demo3D.IO.dll) Version: 15.0.2.11458
Syntaxprotected abstract Task<BufferSegment> ReadDataAsync(
bool sync,
IPacketReader packet,
int numBytes
)
Parameters
- sync
- Type: SystemBoolean
If true, the Task returned is guaranteed to be complete. - packet
- Type: Demo3D.IOIPacketReader
The packet requesting the read. - numBytes
- Type: SystemInt32
The number of bytes to read.
Return Value
Type:
TaskBufferSegmentA buffer containing the data.
See Also