AddPackMemory()

Syntax

Result = AddPackMemory(#Pack, *Buffer, Size, PackedFilename$)
Description
Add and compress the memory buffer to the specified pack previously created with CreatePack().

Parameters

#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.

Return value

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.

See Also

CreatePack()

Supported OS

All

<- AddPackFile() - Packer Index - ClosePack() ->