Name
WriteMem -- write raw data to a file (V2.0)
Synopsis
WriteMem(file_id, blk_id, len[, offset])
Function
This function writes len bytes from the memory block specified by blk_id to the file specified by file_id. The data is read from the memory block at the offset, which you can specify in the homonymous optional argument. The data is written to the file at the current cursor position which you can modify using the Seek() command.

Inputs
file_id
identifier of an open file (use OpenFile())
blk_id
identifier of a memory block
len
bytes to write to the file
offset
optional: where to begin reading the data from the block (defaults to 0 = beginning of the block)
Example
See ReadMem


Show TOC