This command gets a DarkBASIC Pro memblock
from the specified packet.
The data will be taken starting at the cursor position and the cursor will be moved forward by the size of the data returned.
long long int Packet: This is the packet that the command should use.
dword Memblock pointer: This is the pointer of the memblock that the
command should use. This should be the return value of GET MEMBLOCK
PTR. The data will be copied into the specified memblock.
unsigned int Length: Length of memblock in bytes. Set this to 0 if
the memblock has a prefix indicating its length.
bool NullTerminated: Specifies whether the return memblock should have a null terminating character added to the end of it. Note that null terminators are not added by mnAddMemblock.
0 if no error occurred.
-1 if an error occurred.
DBP