APIs

Show:

Constructor

Person

(
  • options
)

Parameters:

  • options Object
    • [lastName] UAString optional
    • [address] UAString optional
    • [age= 25] Int32 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:

encode

(
  • stream
)

encode the object into a binary stream

Parameters:

isValid

() Boolean

verify that all object attributes values are valid according to schema

Returns:

Boolean:

toString

() String

Returns:

String: