Click or drag to resize

PacketIO Properties

The PacketIO type exposes the following members.

Properties
 NameDescription
Public propertyEndian Endianess for integral types.
Public propertyID Optional ID to identify the packet (eg source/destination, packet section, etc).
Public propertyIsFixed Returns true if this is a fixed size packet. Ensure can't expand a fixed packet.
Public propertyLength Returns the current length of the packet. The Length of a packet may change without Ensure being called if it's an expandable PacketWriter and data is inserted.
Public propertyParent Returns the parent packet, or null.
(Inherited from PacketPosition)
Public propertyPosition Returns the current position in this packet. The Position of a packet may change without Advance being called if it's an expandable PacketWriter and data is inserted.
Public propertyPositionInParent Returns the current position with respect to our parent packet.
(Overrides PacketPositionPositionInParent)
Public propertyRemaining Returns the remaining data/space available in this packet. If it's a fixed-size packet, then this is definitive. Otherwise Ensure can be used to try to extend the packet with more data/space.
Public propertyTextEncoding Encoding for text strings.
Public propertyTop Returns the top parent.
Top
See Also