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

FlexCompress.ExtractToBuffer

FlexCompress

Previous  Top  Next

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.

 

        © 2003 - 2024 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Nov 22, 2024