Class: Uint16Type

Uint16Type()

A type representing a 16 bit unsigned integer

Constructor

new Uint16Type()

Construct a 16 bit unsigned integer type

Source:

Extends

Classes

Uint16Type

Methods

marshall(memoryManager, unmarshalledIndex, unmarshalledArgs) → {number}

Marshalls the value to a pointer

Parameters:
Name Type Description
memoryManager MemoryManager

The memory manager

unmarshalledIndex number

The index of the value to marshall

unmarshalledArgs Array.<*>

The unmarshalled arguments

Source:
Returns:

The address of a pointer to the value

Type
number

unmarshall(memoryManager, address, unmarshalledIndex, unmarshalledArgs) → {number}

Unmarshall the value from a pointer.

Parameters:
Name Type Description
memoryManager MemoryManager

The memory manager

address number

The address of the pointer to the value

unmarshalledIndex number

The index of the unmarshalled value or -1

unmarshalledArgs Array.<*>

The unmarshalled arguments

Source:
Returns:

The unmarshalled value.

Type
number