Lua:byteTableToWideString

From Cheat Engine

Jump to: navigation, search

function byteTableToWideString(Table) : string

Converts a byte table to a widestring and converts that to a string.


Contents

[edit] Function Parameters

Parameter Type Description
Table table The table of bytes to convert


[edit] Examples

Code:

 local bt = { 0x74, 0x00, 0x65, 0x00, 0x73, 0x00, 0x74, 0x00, 0x00, 0x00 }
 local value = byteTableToWideString(bt)
 print(value)

Output:

 test 


[edit] See also

[edit] Related Functions

Personal tools
Toolbox