Extends
- ReferenceType.<string>
Methods
free(memoryManager, address, unmarshalledIndex, unmarshalledArgs) → {void}
Free an allocated string
Parameters:
Name | Type | Description |
---|---|---|
memoryManager |
MemoryManager | The memory manager |
address |
number | The address of the string in memory |
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 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) → {string}
Unmarshall a string
Parameters:
Name | Type | Description |
---|---|---|
memoryManager |
MemoryManager | The memory manager |
address |
number | The address of the string in memory |
unmarshalledIndex |
number | The index to the unmarshalled value or -1 |
unmarshalledArgs |
Array.<*> | The unmarshalled arguments |
- Source:
Returns:
The unmarshalled string
- Type
- string