Click or drag to resize

PacketWriter Properties

The PacketWriter type exposes the following members.

Properties
  NameDescription
Public propertyBaseStream
When overriden in a derived class, returns the base stream (if any).
Public propertyCanGrow
Packet can be expanded.
Public propertyEndian
Endianess for integral types.
(Inherited from PacketIO.)
Public propertyID
Optional ID to identify the packet (eg source/destination, packet section, etc).
(Inherited from PacketIO.)
Public propertyIsFixed
Returns true if this is a fixed size packet. Ensure can't expand a fixed packet.
(Inherited from PacketIO.)
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.
(Inherited from PacketIO.)
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.
(Inherited from PacketIO.)
Public propertyPositionInParent
Returns the current position with respect to our parent packet.
(Inherited from PacketIO.)
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.
(Inherited from PacketIO.)
Public propertyResolved
Packet has been resolved into concrete data.
Public propertyTextEncoding
Encoding for text strings.
(Inherited from PacketIO.)
Public propertyTop
Returns the top parent.
(Inherited from PacketIO.)
Top
See Also