Difference between revisions of "Lua:byteTableToString"
Jump to navigation
Jump to search
(Created page with ''''function''' byteTableToString(''Table'') Converts a byte table to a string. === Function Parameters === {|width="85%" cellpadding="10%" cellpadding="5%" cellspacing="0" bor…') |
(→Related Functions) |
||
Line 31: | Line 31: | ||
=== Related Functions === | === Related Functions === | ||
+ | * [[ansiToUtf8]] | ||
+ | * [[utf8ToAnsi]] | ||
+ | * [[translate]] | ||
* [[readBytes]] | * [[readBytes]] | ||
* [[readInteger]] | * [[readInteger]] |
Revision as of 00:57, 10 March 2017
function byteTableToString(Table)
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
Related Functions
- ansiToUtf8
- utf8ToAnsi
- translate
- readBytes
- readInteger
- readQword
- readPointer
- readFloat
- readDouble
- readString
- writeBytes
- writeInteger
- writeQword
- writeFloat
- writeDouble
- writeString
- readBytesLocal
- readIntegerLocal
- readQwordLocal
- readPointerLocal
- readFloatLocal
- readDoubleLocal
- readStringLocal
- writeBytesLocal
- writeIntegerLocal
- writeQwordLocal
- writeFloatLocal
- writeDoubleLocal
- writeStringLocal
- wordToByteTable
- dwordToByteTable
- qwordToByteTable
- floatToByteTable
- doubleToByteTable
- stringToByteTable
- wideStringToByteTable
- byteTableToWord
- byteTableToDword
- byteTableToQword
- byteTableToFloat
- byteTableToDouble
- byteTableToWideString