DOFObjectIDSourcecreate Method (Byte, Int32)OpenDOF Object Access Library
Create a DOFObjectID.Source from a byte[] of data at an offset.

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

C#
public static DOFObjectIDSource create(
	byte[] data,
	int offset
)

Parameters

data
Type: SystemByte
The data to create the identifier from. There may be addition data in the array but after the object identifier that will be ignored. This must not be null.
offset
Type: SystemInt32
The offset into the data where the identifier begins. This must not be negative.

Return Value

Type: DOFObjectIDSource
The newly created object identifier.
Remarks

Create a DOFObjectID.Source from a byte[] of data at an offset. The DOFObjectID created cannot have attributes, cannot be Broadcast and cannot have a data size greater than 20.
See Also

Reference