Difference between revisions of "Lua:writeBytes"
Jump to navigation
Jump to search
(10 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
+ | [[Category:Lua]] | ||
'''function''' writeBytes(''Address'', ''Byte1'', ''Byte2'', ''Byte3'', ... ) | '''function''' writeBytes(''Address'', ''Byte1'', ''Byte2'', ''Byte3'', ... ) | ||
− | '''function''' writeBytes(''Address'', ''Table | + | '''function''' writeBytes(''Address'', ''Table'' ) |
Write the bytes to the given address | Write the bytes to the given address | ||
Line 14: | Line 15: | ||
|- | |- | ||
|Address | |Address | ||
− | | | + | |[[CEAddressString]] or Integer |
|The address to write to | |The address to write to | ||
|- | |- | ||
Line 30: | Line 31: | ||
|} | |} | ||
<br> | <br> | ||
− | '''function''' writeBytes(''Address'', ''Table'') | + | '''function''' writeBytes(''Address'', ''Table'') |
{|width="85%" cellpadding="10%" cellpadding="5%" cellspacing="0" border="1" | {|width="85%" cellpadding="10%" cellpadding="5%" cellspacing="0" border="1" | ||
!align="left"|Parameter | !align="left"|Parameter | ||
Line 37: | Line 38: | ||
|- | |- | ||
|Address | |Address | ||
− | | | + | |[[CEAddressString]] or Integer |
|The address to write to | |The address to write to | ||
|- | |- | ||
Line 45: | Line 46: | ||
|} | |} | ||
− | == | + | {{LuaSeeAlso}} |
− | + | ||
− | + | === Related Functions === | |
+ | {{ReadWriteMemory}} |
Latest revision as of 18:28, 18 May 2019
function writeBytes(Address, Byte1, Byte2, Byte3, ... )
function writeBytes(Address, Table )
Write the bytes to the given address
Function Parameters[edit]
function writeBytes(Address, Byte1, Byte2, Byte3, ... )
Parameter | Type | Description |
---|---|---|
Address | CEAddressString or Integer | The address to write to |
Byte1 | Integer | The first byte |
Byte2 | Integer | The second byte |
... | Integer | All the other bytes (Max around 20) |
function writeBytes(Address, Table)
Parameter | Type | Description |
---|---|---|
Address | CEAddressString or Integer | The address to write to |
Table | Table | A table consisting of integers to be written to |
See also[edit]
Related Functions[edit]
- 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