Result = AddPackMemory(#Pack, *Buffer, Size, PackedFilename$)Description
Add and compress the memory buffer to the specified pack previously created with CreatePack().
#Pack The pack to use. *Buffer The memory buffer to add to the pack. Size The size of the memory to add to the pack. PackedFilename$ The filename to use in the archive to store the memory buffer.
Nonzero if the buffer has been successfully added to the packfile. If the memory buffer can't be compressed, it will be stored as is in the packfile.