Difference between revisions of "Lua:Class:MemoryStream"

From Cheat Engine
Jump to navigation Jump to search
(Created page with 'MemoryStream '''class''': ('''Inheritance''': ''Stream''->''Object'') class for memory stream objects. == Creation == ; createMemoryStream() : Returns a newly cr…')
 
(Properties)
Line 8: Line 8:
  
 
== Properties ==
 
== Properties ==
; Memory : integer : ReadOnly
+
; Memory : integer : Readonly
 
: The address in Cheat Engine's memory this stream is loaded (READONLY, tends to change)
 
: The address in Cheat Engine's memory this stream is loaded (READONLY, tends to change)
  

Revision as of 07:07, 11 March 2017

MemoryStream class: (Inheritance: Stream->Object)

class for memory stream objects.

Creation

createMemoryStream()
Returns a newly created memory steam

Properties

Memory : integer : Readonly
The address in Cheat Engine's memory this stream is loaded (READONLY, tends to change)

Methods

loadFromFile(fileName)
Replaces the contents in the memory stream with the contents of a file on disk
saveToFile(fileName)
Writes the contents of the memory stream to the specified file

See also

Related Functions

Related Classes