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
See also
| Lua |
| Script Engine |
Related Functions
| Read Functions |
|---|
| readBytes |
| readSmallInteger |
| readInteger |
| readQword |
| readPointer |
| readFloat |
| readDouble |
| readString |
| Read Functions (Local Process) |
| readBytesLocal |
| readIntegerLocal |
| readQwordLocal |
| readPointerLocal |
| readFloatLocal |
| readDoubleLocal |
| readStringLocal |
| Write Functions |
| writeBytes |
| writeSmallInteger |
| writeInteger |
| writeQword |
| writeFloat |
| writeDouble |
| writeString |
| Write Functions (Local Process) |
| writeBytesLocal |
| writeIntegerLocal |
| writeQwordLocal |
| writeFloatLocal |
| writeDoubleLocal |
| writeStringLocal |
| Byte Table Conversions (Value → Byte Table) |
| wordToByteTable |
| dwordToByteTable |
| qwordToByteTable |
| floatToByteTable |
| doubleToByteTable |
| stringToByteTable |
| wideStringToByteTable |
| Byte Table Conversions (Byte Table → Value) |
| byteTableToWord |
| byteTableToDword |
| byteTableToQword |
| byteTableToFloat |
| byteTableToDouble |
| byteTableToString |
| byteTableToWideString |