s$ = GetMemString(id[, offset, length])
lengthbytes starting at
offsetfrom the memory block specified by
id. Both the
lengthparameters must be specified in bytes. If omitted,
offsetdefaults to 0 (i.e. the beginning of the memory block) and
lengthalso defaults to 0 which means all remaining bytes starting from the specified offset are returned.
Note that since Hollywood strings can also contain raw binary data
the string that is returned by
GetMemString() isn't necessarily a
valid UTF-8 string but contains the raw binary data copied from the
specified memory block.