DOFTypestartLength Method OpenDOF Object Access Library
Define the ending point of the data associated with a type.

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
protected void startLength(
	DOFPacket packet
)

Parameters

packet
Type: org.opendof.core.oalDOFPacket
The buffer the type is being written to.
Exceptions

ExceptionCondition
DOFMarshalExceptionThrown if there are problems with the buffer.
DOFMarshalException
Remarks

Define the ending point of the data associated with a type.

Each type follows a consistent format on the wire as defined by the DOF ProtocolSpecification. The base class constructor writes the length associated with the type, and to do so needs a mark placed in the buffer.

This routine must be called by all extending classes before they write their associated type data.

See Also

Reference