PacketPosition Properties |
The PacketPosition type exposes the following members.
| Name | Description | |
|---|---|---|
| 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.
| |
| LengthToCurrentPositionOfParent |
Returns the length in bytes from this position to the current position of our parent packet.
| |
| LengthToEndOfParent |
Returns the length in bytes from this position to the end of our parent packet.
| |
| Parent |
Returns the parent packet, or null.
| |
| PositionInParent |
Returns the current position with respect to our parent packet.
|