GetMemblockString

Description

Returns a given number of bytes at the given offset and interprets them as a string. The offset plus length must be less than the size of the memblock. The first value is at offset 0. The string will be null terminated even if no null terminator is found in the memblock. If a null terminator occurs before length is reached then all the bytes will still be read, but only the characters up to the first null terminator will be accessible in AGK. If you are using tier 2 you must delete the pointer returned from this function.

Definition

string GetMemblockString( memID, offset, length )

Parameters