APIs

Show:

Constructor

DataValue

(
  • options
)

Parameters:

  • options Object
    • [value= null] Variant optional
    • [statusCode= 0] StatusCode optional
    • [sourceTimestamp= null] DateTime optional
    • [sourcePicoseconds= 0] UInt16 optional
    • [serverTimestamp= null] DateTime optional
    • [serverPicoseconds= 0] UInt16 optional

Methods

binaryStoreSize

() Number
Calculate the required size to store this object in a binary stream.

Returns:

Number:

decode

(
  • stream
  • [option]
)

decode the object from a binary stream

Parameters:

isValid

() Boolean

verify that all object attributes values are valid according to schema

Returns:

Boolean:

stringToQualifiedName

(
  • value
)
NamespaceIndex: Number, name: String

Parameters:

  • value String

Returns:

NamespaceIndex: Number, name: String:

}

Example:

stringToQualifiedName("Hello") => {namespaceIndex: 0, name: "Hello"} stringToQualifiedName("3:Hello") => {namespaceIndex: 3, name: "Hello"}

toString

() String

Returns:

String: