Packet |
The PacketIO type exposes the following members.
| Name | Description | |
|---|---|---|
| Endian | Endianess for integral types. | |
| ID | Optional ID to identify the packet (eg source/destination, packet section, etc). | |
| IsFixed | Returns true if this is a fixed size packet. Ensure can't expand a fixed packet. | |
| 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. | |
| 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. | |
| PositionInParent |
Returns the current position with respect to our parent packet.
(Overrides PacketPositionPositionInParent) | |
| 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. | |
| TextEncoding | Encoding for text strings. | |
| Top | Returns the top parent. |