Extracts data stored in the file inside the archive to a memory buffer.
[C#]
public void ExtractToBuffer(string fileName, byte[] buffer, int count);
[VB.NET]
Public Sub ExtractToBuffer(ByVal fileName As String, ByVal buffer As Byte(), ByVal count As 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.