Verify that the data length for a type matched the data read for the type.
Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax
C#
protected void validateLength( DOFPacket packet )
Parameters
- packet
- Type: org.opendof.core.oalDOFPacket
The buffer the type is being read from.
Exceptions
Exception | Condition |
---|---|
DOFMarshalException | Thrown if there is a mismatch between what is declared and what was read. |
DOFMarshalException |
Remarks
See Also