DOFUInt64 Constructor (UInt64)OpenDOF Object Access Library
Create a new 64-bit unsigned integer given data.

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

C#
public DOFUInt64(
	ulong data
)

Parameters

data
Type: SystemUInt64
The data to encapsulate. Must not be null. If data is not an unsigned 64-bit integer then an IllegalArgumentException is thrown.
Remarks

Create a new 64-bit unsigned integer given data.

In the OAL, the unsigned types require a type promotion to the next larger signed type. For example, an unsigned byte (DOFType.UINT8) uses a signed short value. An unsigned 64-bit integer cannot be represented as a signed long. Therefore, the value is stored in a BigInteger object.

See Also

Reference