Difference between revisions of "Lua:writeString"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | '''function''' writeString(''Address'', ''Text'') | + | '''function''' writeString(''Address'', ''Text'', ''WideChar'' OPTIONAL) |
− | Writes the given text to the given address. This does not write a 0-terminator at the end. You need to use [[writeBytes]] yourself if you need one | + | Writes the given text to the given address. This does not write a 0-terminator at the end. You need to use [[writeBytes]] yourself if you need one. Set WideChar to true if it is encoded using a widechar formatting. |
===Function Parameters=== | ===Function Parameters=== | ||
Line 16: | Line 16: | ||
|String | |String | ||
|The text to write to the process | |The text to write to the process | ||
+ | |- | ||
+ | |WideChar | ||
+ | |boolean | ||
+ | |Set to true if it is encoded using a widechar formatting | ||
|} | |} | ||
Revision as of 07:10, 9 March 2017
function writeString(Address, Text, WideChar OPTIONAL)
Writes the given text to the given address. This does not write a 0-terminator at the end. You need to use writeBytes yourself if you need one. Set WideChar to true if it is encoded using a widechar formatting.
Function Parameters
Parameter | Type | Description |
---|---|---|
Address | CEAddressString or Integer | The address of the target process to write to |
Text | String | The text to write to the process |
WideChar | boolean | Set to true if it is encoded using a widechar formatting |
See also
Related Functions
- readBytes
- readInteger
- readQword
- readPointer
- readFloat
- readDouble
- readString
- writeBytes
- writeInteger
- writeQword
- writeFloat
- writeDouble
- 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
- byteTableToWideString