APIs

Show:

Constructor

DataValue

(
  • options
)

Parameters:

  • options Object

Methods

binaryStoreSize

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

Returns:

Number:

decode

(
  • stream
)

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: