Lua:byteTableToString
Jump to navigation
Jump to search
function byteTableToString(Table) : string
Converts a byte table to a string.
Function Parameters
| Parameter | Type | Description |
|---|---|---|
| Table | table | The table of bytes to convert |
Examples
Code:
local bt = { 0x74, 0x65, 0x73, 0x74, 0x00 }
local value = byteTableToString(bt)
print(value)
Output:
test