Click or drag to resize

IDataReaderPeek Method

Returns a new data reader pointing to the next length bytes, but does not advance the current packet position. Implies Ensure(length).

Namespace:  Demo3D.IO
Assembly:  Demo3D.IO (in Demo3D.IO.dll) Version: 10.0.0.0 (10.0.0.0)
Syntax
C#
IDataReader Peek(
	int length
)

Parameters

length
Type: SystemInt32
The number of bytes to peek.

Return Value

Type: IDataReader
A new IDataReader containing the peeked data.
See Also