Difference between revisions of "Lua:readBytesLocal"

From Cheat Engine
Jump to navigation Jump to search
Line 1: Line 1:
'''function''' readBytes(''Address'', ''Bytecount'', ''ReturnAsTable'' )
+
'''function''' readBytesLocal(''Address'', ''Bytecount'', ''ReturnAsTable'' )
  
Returns the bytes at the given address.
+
Returns the bytes at the given address, in Cheat Engine's memory.
  
 
Note: The bytes read are from the Cheat Engine process instead of the targeted process.
 
Note: The bytes read are from the Cheat Engine process instead of the targeted process.
Line 26: Line 26:
  
 
== See also ==
 
== See also ==
 +
* [[Lua]]
 +
* [[Help_File:Script engine|Script engine]]
 +
 +
=== Related Functions ===
 
* [[readBytes]]
 
* [[readBytes]]
* [[Lua]]
+
* [[readInteger]]
 +
* [[readQword]]
 +
* [[readPointer]]
 +
* [[readFloat]]
 +
* [[readDouble]]
 +
* [[readString]]
 +
* [[writeBytes]]
 +
* [[writeInteger]]
 +
* [[writeQword]]
 +
* [[writeFloat]]
 +
* [[writeDouble]]
 +
* [[writeString]]
 +
* [[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]]

Revision as of 05:18, 9 March 2017

function readBytesLocal(Address, Bytecount, ReturnAsTable )

Returns the bytes at the given address, in Cheat Engine's memory.

Note: The bytes read are from the Cheat Engine process instead of the targeted process.

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