Delphi Database, Delphi Components from ComponentAce
Products Download Order Contact us



Previous  Top  Next

Extracts data stored in the file inside the archive to a memory buffer.


public void ExtractToBuffer(string fileName, byte[] buffer, int count);



Public Sub ExtractToBuffer(ByVal fileName As String, ByVal buffer As Byte(), ByVal count As Integer)




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.


        © 2003 - 2024 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Mar 04, 2024