Difference between revisions of "Lua:byteTableToString"
Jump to navigation
Jump to search
m (moved byteTableToString to Lua:byteTableToString) |
|
(No difference)
| |
Revision as of 00:07, 25 January 2018
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