PacketMarker Properties |
The PacketMarker type exposes the following members.
| Name | Description | |
|---|---|---|
| DataLength |
Returns the data length in bytes of the packet from this position.
For a PacketReader this is the length from this PacketMarker to current Position of the packet. (Ie the amount of data that's been read since the packet was Marked.)
For a PacketWriter it's the length from this PacketMarker to the end of the packet. (Ie the amount of data that's been written since the packet was Marked.)
| |
| DataLengthOfParent |
Returns the length in bytes from this position to the current parent packet Position.
For a PacketReader this is the length from this PacketPosition to our parents current Position.
For a PacketWriter it's the length from this PacketPosition to the end of our Parent packet.
(Inherited from PacketPosition.) | |
| LengthToCurrentPositionOfParent |
Returns the length in bytes from this position to the current position of our parent packet.
(Inherited from PacketPosition.) | |
| LengthToEndOfParent |
Returns the length in bytes from this position to the end of our parent packet.
(Inherited from PacketPosition.) | |
| Parent |
Returns the parent packet, or null.
(Inherited from PacketPosition.) | |
| Position |
Returns the position of this marker in the packet.
| |
| PositionInParent |
Returns the current position with respect to our parent packet.
(Inherited from PacketPosition.) |