SetMemblockString

Description

Writes a string to a memblock as raw bytes. The first null terminator found will end the string and a single null terminator will be written to the memblock data. To read the string out of the memblock again you will need to know its length, so it is recommended that you also write a string length value before the string data to help read the string back later. The offset plus the length of the string, plus 1 for the null terminator, must be less than the memblock size.

Definition

SetMemblockString( memID, offset, value )

Parameters