Difference between revisions of "Lua:readBytes"
Jump to navigation
Jump to search
(Undo revision 2929 by TheyCallMeTim13 (Talk)) |
m (moved readBytes to Lua:readBytes) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | '''function''' readBytes(''Address'', ''Bytecount'', ''ReturnAsTable'' ) | + | [[Category:Lua]] |
+ | '''function''' readBytes(''Address'', ''Bytecount'', ''ReturnAsTable'' ) ''':''' (byte, ...) '''-''' table | ||
Returns the bytes at the given address | Returns the bytes at the given address | ||
Line 22: | Line 23: | ||
|} | |} | ||
− | + | {{LuaSeeAlso}} | |
− | |||
− | |||
=== Related Functions === | === Related Functions === | ||
− | + | {{ReadWriteMemory}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 00:01, 25 January 2018
function readBytes(Address, Bytecount, ReturnAsTable ) : (byte, ...) - table
Returns the bytes at the given address
Function Parameters[edit]
Parameter | Type | Description |
---|---|---|
Address | CEAddressString or Integer | The address to read |
Bytecount | Integer | The number of bytes to read |
ReturnAsTable | Boolean | Returns a table object instead of multiple return values |
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