Click or drag to resize

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: 15.0.2.11458
Syntax
C#
public Task EnsureAsync(
	int length
)

Parameters

length
Type: SystemInt32
The number of bytes of the data to ensure.

Return Value

Type: Task
Nothing.

Implements

IDataReaderEnsureAsync(Int32)
See Also