DOFUInt16 Constructor (DOFUInt16Type, DOFPacket)OpenDOF Object Access Library
Create a DOFUInt16 instance from serial form.

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

C#
public DOFUInt16(
	DOFUInt16Type pattern,
	DOFPacket packet
)

Parameters

pattern
Type: org.opendof.core.oal.valueDOFUInt16Type
The type of the variable. Must not be null. Must not be DOFType.ARRAY nor DOFType.STRUCTURE.
packet
Type: org.opendof.core.oalDOFPacket
The buffer which contains the serialized form of the object. Must not be null.
Exceptions

ExceptionCondition
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

Create a DOFUInt16 instance from serial form.
See Also

Reference

org.opendof.core.internal_Renamed.protocol.Marshallable