Lua:writeBytes

From Cheat Engine
Revision as of 19:09, 18 March 2019 by Dark Byte (talk | contribs) (Reverted edits by This content is not available (Talk) to last revision by TheyCallMeTim13)
Jump to navigation Jump to search

function writeBytes(Address, Byte1, Byte2, Byte3, ... )

function writeBytes(Address, Table, Count )

Write the bytes to the given address


Function Parameters

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) Warning: Bugged in CE 6.1

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

Lua
Script Engine

Related Functions

Read Functions
readBytes
readSmallInteger
readInteger
readQword
readPointer
readFloat
readDouble
readString
Read Functions (Local Process)
readBytesLocal
readIntegerLocal
readQwordLocal
readPointerLocal
readFloatLocal
readDoubleLocal
readStringLocal
Write Functions
writeBytes
writeSmallInteger
writeInteger
writeQword
writeFloat
writeDouble
writeString
Write Functions (Local Process)
writeBytesLocal
writeIntegerLocal
writeQwordLocal
writeFloatLocal
writeDoubleLocal
writeStringLocal
Byte Table Conversions (Value → Byte Table)
wordToByteTable
dwordToByteTable
qwordToByteTable
floatToByteTable
doubleToByteTable
stringToByteTable
wideStringToByteTable
Byte Table Conversions (Byte Table → Value)
byteTableToWord
byteTableToDword
byteTableToQword
byteTableToFloat
byteTableToDouble
byteTableToString
byteTableToWideString