Create an instance from serialized form.
Namespace: org.opendof.core.oal.value
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax
C#
public DOFStructure( DOFStructureType type, DOFPacket packet )
Parameters
- type
- Type: org.opendof.core.oal.valueDOFStructureType
The type of the structure to read. - packet
- Type: org.opendof.core.oalDOFPacket
The buffer which contains the serialized form of the object. Must not be null.
Exceptions
Exception | Condition |
---|---|
DOFMarshalException | If there are errors in the data or the buffer. This is an exception to the rule that non-RuntimeExceptions not be thrown from a constructor. |
Remarks
See Also
Reference
org.opendof.core.internal_Renamed.protocol.Marshallable