Click or drag to resize

IPacketReader Properties

The IPacketReader type exposes the following members.

Properties
  NameDescription
Public propertyDataAvailable
Returns true if data is immediately available. (Specifically that EnsureAsync(1) won't block.) Returns true if there's any data remaining in the packet (this.Remaining > 0), or if the underlying stream has data available. Returning false does not necessarily mean that data is not available. It may be that it's not possible to detect data.
Public propertyEndian
Endianess for integral types.
(Inherited from IPacketIO.)
Public propertyID
Optional ID to identify the packet (eg source/destination, packet section, etc).
(Inherited from IPacketIO.)
Public propertyIsFixed
Returns true if this is a fixed size data source.
(Inherited from IDataIO.)
Public propertyLength
Returns the current length of the data.
(Inherited from IDataIO.)
Public propertyParent
Returns the parent packet, or null.
(Inherited from IPacketIO.)
Public propertyPosition
Returns the current position in the data.
(Inherited from IDataIO.)
Public propertyRemaining
Returns the remaining data/space available. (Always 0 for an expandable buffer.)
(Inherited from IDataIO.)
Public propertyTextEncoding
Encoding for text strings.
(Inherited from IPacketIO.)
Top
See Also