Demo3D 2022 API Documentation
Demo3D 2022 API Documentation
Demo3D Namespaces
Demo3D.IO Namespaces
Demo3D.IO
PacketReader Class
PacketReader Methods
Close Method
Consume Method
Create Method
EnsureAsync Method
MarkPosition Method
Peek Method
Prune Method
PacketReader
Peek Method
Returns a new packet 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: 15.0.2.11458
Syntax
C#
Copy
public
IPacketReader
Peek
(
int
length
,
string
description
)
Parameters
length
Type:
System
Int32
The number of bytes to peek.
description
Type:
System
String
Printable packet/message/connection descrition.
Return Value
Type:
IPacketReader
A new PacketReader containing the peeked data.
Implements
IPacketReader
Peek(Int32, String)
See Also
Reference
PacketReader Class
Demo3D.IO Namespace
© Emulate3D Ltd. All rights reserved.
Send comments on this topic to
support@demo3d.com