Lua:byteTableToWideString
Revision as of 08:31, 9 March 2017 by TheyCallMeTim13 (talk | contribs) (Created page with ''''function''' byteTableToWideString(''Table'') Converts a byte table to a widestring and converts that to a string. === Function Parameters === {|width="85%" cellpadding="10%…')
function byteTableToWideString(Table)
Converts a byte table to a widestring and converts that to a string.
Function Parameters
Parameter | Type | Description |
---|---|---|
Table | table | The table of bytes to convert |
Examples
Code:
local bt = { 0x74, 0x00, 0x65, 0x00, 0x73, 0x00, 0x74, 0x00, 0x00, 0x00 } local value = byteTableToWideString(bt) print(value)
Output:
test
See also
Related Functions
- 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
- byteTableToString