Delphi Database, Delphi Components from ComponentAce
Products Download Order Contact us
TZipForge.AddFromBuffer
TZipForge
Top 


Adds data stored in a memory buffer to the archive.

procedure
AddFromBuffer(FileName: String; const Buffer; Count: Integer; Attr: Integer = faArchive; DateTime: TDateTime = 0);

Description


Use AddFromBuffer to compress data stored in the memory buffer to the file inside the archive.

The FileName parameter specifies file name that will be used to store data from the memory buffer.

Count specifies size in bytes of the buffer.

The Attr parameter specifies file attributes which will be assigned to the stored file.

The DateTime parameter specifies file date and time which will be assigned to the stored file.

Note: If some errors occurs an exception will be raised.

        © 2003 - 2024 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Oct 12, 2024 
        © 2003 - 2024 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Oct 12, 2024