Difference between revisions of "Lua:readBytes"
Jump to navigation
Jump to search
(Undo revision 2929 by TheyCallMeTim13 (Talk)) |
|||
Line 1: | Line 1: | ||
− | + | '''function''' readBytes(''Address'', ''Bytecount'', ''ReturnAsTable'' ) | |
− | + | Returns the bytes at the given address | |
− | + | ===Function Parameters=== | |
− | + | {|width="85%" cellpadding="10%" cellpadding="5%" cellspacing="0" border="0" | |
− | + | !align="left"|Parameter | |
− | + | !align="left"|Type | |
− | + | !style="width: 80%;background-color:white;" align="left"|Description | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {|cellpadding="10%" cellpadding="5%" cellspacing="0" border=" | ||
− | !align="left"| | ||
− | !style="width: 80%" align="left"|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 == | ||
+ | * [[Lua]] | ||
+ | * [[Help_File:Script engine|Script engine]] | ||
− | + | === Related Functions === | |
− | + | * [[readInteger]] | |
− | + | * [[readQword]] | |
− | + | * [[readPointer]] | |
− | + | * [[readFloat]] | |
− | + | * [[readDouble]] | |
− | + | * [[readString]] | |
− | + | * [[writeBytes]] | |
− | + | * [[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]] | ||
+ | * [[AOBScan]] |
Revision as of 08:43, 10 March 2017
function readBytes(Address, Bytecount, ReturnAsTable )
Returns the bytes at the given address
Function Parameters
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
Related Functions
- readInteger
- readQword
- readPointer
- readFloat
- readDouble
- readString
- writeBytes
- 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
- AOBScan