Extends
- Type.<T>
Methods
alloc(memoryManager, unmarshalledIndex, unmarshalledArgs) → {number}
Allocate memory for the type
Parameters:
Name | Type | Description |
---|---|---|
memoryManager |
MemoryManager | The memory manager |
unmarshalledIndex |
number | The index of the unmarshalled value |
unmarshalledArgs |
Array.<*> | The unmarshalled arguments |
- Source:
Returns:
The address of the allocated memory
- Type
- number
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