Click or drag to resize

PacketMarker Class

A packet marker is an object that points to a position within the packet.
Inheritance Hierarchy
SystemObject
  Demo3D.IOPacketPosition
    Demo3D.IOPacketMarker
      Demo3D.IOPacketPositionFixedPacketMarker

Namespace:  Demo3D.IO
Assembly:  Demo3D.IO (in Demo3D.IO.dll) Version: 11.0.0.7658
Syntax
C#
public abstract class PacketMarker : PacketPosition

The PacketMarker type exposes the following members.

Constructors
  NameDescription
Protected methodPacketMarker
Creates a packet marker.
Top
Properties
  NameDescription
Public propertyDataLength
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.)
Public propertyDataLengthOfParent
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.)
Protected propertyLengthToCurrentPositionOfParent
Returns the length in bytes from this position to the current position of our parent packet.
(Inherited from PacketPosition.)
Protected propertyLengthToEndOfParent
Returns the length in bytes from this position to the end of our parent packet.
(Inherited from PacketPosition.)
Public propertyParent
Returns the parent packet, or null.
(Inherited from PacketPosition.)
Public propertyPosition
Returns the position of this marker in the packet.
Public propertyPositionInParent
Returns the current position with respect to our parent packet.
(Inherited from PacketPosition.)
Top
See Also