Extracts data stored in the file inside the archive to a memory buffer.
procedure ExtractToBuffer(FileName: String; var Buffer; Count: Integer);
Description
Use ExtractToBuffer to decompress Count bytes of data stored in the file inside the archive to memory buffer.
The FileName parameter specifies file name being extracted.
Buffer is an existing memory buffer. Buffer size should be greater or equal number of bytes specified by Count parameter.
Count specifies size in bytes of the data being extracted from the archive.
Note: Any transaction must be finished before calling ExtractToBuffer. Otherwise an exception will be raised. Also if some other errors occurs an exception will be raised.
|
|