PacketReaderEnsureAsync Method |
Ensure that the next length bytes of data is available in the packet. If there isn't enough already
available, and the packet isn't fixed, then it'll attempt to read more data into the packet.
Namespace:
Demo3D.IO
Assembly:
Demo3D.IO (in Demo3D.IO.dll) Version: 18.04.00
Syntaxpublic Task EnsureAsync(
int length
)
Parameters
- length
- Type: SystemInt32
The number of bytes of the data to ensure.
Return Value
Type:
TaskNothing.
Implements
IDataReaderEnsureAsync(Int32)
See Also