Extends
- ReferenceType.<Pointer.<number>>
Methods
free(memoryManager, address, unmarshalledIndex, unmarshalledArgs) → {void}
Free allocated memory.
Parameters:
Name | Type | Description |
---|---|---|
memoryManager |
MemoryManager | The memory manager |
address |
number | The address of the memory to be freed |
unmarshalledIndex |
number | The index of the unmarshalled value or -1 |
unmarshalledArgs |
Array.<*> | The unmarshalled arguments |
- Source:
Returns:
- Type
- void
marshall(memoryManager, unmarshalledIndex, unmarshalledArgs) → {number}
Marshall an address into memory
Parameters:
Name | Type | Description |
---|---|---|
memoryManager |
MemoryManager | The memory manager |
unmarshalledIndex |
number | The index of the value to to marshall |
unmarshalledArgs |
Array.<*> | The unmarshalled arguments |
- Source:
Returns:
The address of the string in memory
- Type
- number
unmarshall(memoryManager, address, unmarshalledIndex, unmarshalledArgs) → {Pointer.<number>}
Unmarshall an address
Parameters:
Name | Type | Description |
---|---|---|
memoryManager |
MemoryManager | The memory manager |
address |
number | The address of the string buffer in memory |
unmarshalledIndex |
number | The index of the unmarshalled value or -1 |
unmarshalledArgs |
Array.<*> | The unmarshalled arguments. |
- Source:
Returns:
The unmarshalled string buffer
- Type
- Pointer.<number>