Appearance
LongString
Inherits: LibTSMModule
Functions
Decode
lua
function BaseType.LongString.Decode(value)
-> stringDecodes a previously-encoded value back into a long string.
Parameters:
| Name | Type | Description |
|---|---|---|
value | EncodedLongString | The value to decode |
Returns:
| Type | Description |
|---|---|
string |
Encode
lua
function BaseType.LongString.Encode(str)
-> table & tableEncodes a long string into a value which is safe to store in WoW's SV file.
Parameters:
| Name | Type | Description |
|---|---|---|
str | string | The string to encode |
Returns:
| Type | Description |
|---|---|
table & table |