Extends
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 a string buffer into memory
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 the string in memory
- Type
- number
unmarshall(memoryManager, address, unmarshalledIndex, unmarshalledArgs) → {StringBuffer}
Unmarshall a string buffer
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
- StringBuffer