PacketWriter Properties |
The PacketWriter type exposes the following members.
| Name | Description | |
|---|---|---|
| BaseStream |
When overriden in a derived class, returns the base stream (if any).
| |
| CanGrow |
Packet can be expanded.
| |
| Endian |
Endianess for integral types.
(Inherited from PacketIO.) | |
| ID |
Optional ID to identify the packet (eg source/destination, packet section, etc).
(Inherited from PacketIO.) | |
| IsFixed |
Returns true if this is a fixed size packet. Ensure can't expand a fixed packet.
(Inherited from PacketIO.) | |
| Length |
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.) | |
| Parent |
Returns the parent packet, or null.
(Inherited from PacketPosition.) | |
| Position |
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.) | |
| PositionInParent |
Returns the current position with respect to our parent packet.
(Inherited from PacketIO.) | |
| Remaining |
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.) | |
| Resolved |
Packet has been resolved into concrete data.
| |
| TextEncoding |
Encoding for text strings.
(Inherited from PacketIO.) | |
| Top |
Returns the top parent.
(Inherited from PacketIO.) |