Difference between revisions of "Lua:writeString"
Jump to navigation
Jump to search
(→Related Functions) |
m (moved writeString to Lua:writeString) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | '''function''' writeString(''Address'', ''Text'', ''WideChar'' OPTIONAL) | + | [[Category:Lua]] |
+ | '''function''' writeString(''Address'', ''Text'', ''WideChar'' OPTIONAL) : Boolean - Returns true on success. | ||
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. | 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. | ||
Line 23: | Line 24: | ||
− | + | {{LuaSeeAlso}} | |
− | |||
− | |||
=== Related Functions === | === Related Functions === | ||
Line 31: | Line 30: | ||
* [[utf8ToAnsi]] | * [[utf8ToAnsi]] | ||
* [[translate]] | * [[translate]] | ||
− | + | {{ReadWriteMemory}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 00:04, 25 January 2018
function writeString(Address, Text, WideChar OPTIONAL) : Boolean - Returns true on success.
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[edit]
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[edit]
Related Functions[edit]
- ansiToUtf8
- utf8ToAnsi
- translate
- readBytes
- readSmallInteger
- readInteger
- readQword
- readPointer
- readFloat
- readDouble
- readString
- writeBytes
- writeSmallInteger
- 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
- byteTableToWideString