Lua:Class:MemoryStream
Revision as of 00:20, 25 January 2018 by TheyCallMeTim13 (talk | contribs) (moved MemoryStream to Lua:Class:MemoryStream)
MemoryStream class: (Inheritance: Stream->Object)
class for memory stream objects.
Creation
- createMemoryStream() : MemoryStream
- 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