SQZip 0.0.1

dotnet add package SQZip --version 0.0.1
                    
NuGet\Install-Package SQZip -Version 0.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SQZip" Version="0.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SQZip" Version="0.0.1" />
                    
Directory.Packages.props
<PackageReference Include="SQZip" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SQZip --version 0.0.1
                    
#r "nuget: SQZip, 0.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package SQZip@0.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SQZip&version=0.0.1
                    
Install as a Cake Addin
#tool nuget:?package=SQZip&version=0.0.1
                    
Install as a Cake Tool

SQZip

Features

  • Simple archive format with a clear structure
  • Optional per-file Deflate compression
  • Fast extraction and creation
  • No external dependencies beyond .NET 8
  • Preserves directory structure

Archive Format

  • Signature: SQZIPV01 (8 bytes)
  • File count (int32)
  • File table size (int32)
  • File table: For each file
    • Path length (uint16)
    • Path (UTF-8)
    • File size (int64)
    • Compressed size (int64)
    • Data offset (int64)
    • Is compressed (byte: 1 = compressed, 0 = uncompressed)
  • File data section

Usage

Creating an Archive

Extracting an Archive

API

SqzipArchiver.CreateSqzip(string sourceFolder, string destinationFile)

  • Archives all files in sourceFolder (recursively) into a single .sqzip file.
  • Uses Deflate compression only if it reduces file size.

SqzipExtractor.ExtractSqzip(string archivePath, string destinationFolder)

  • Extracts all files from the specified .sqzip archive into destinationFolder.
  • Restores original directory structure.
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.0.1 214 7/1/2025