Skip to content

Instantly share code, notes, and snippets.

Avatar

Matheos Mattsson Matheos96

View GitHub Profile
@Matheos96
Matheos96 / ExtractTarGz.cs
Last active Aug 28, 2022 — forked from ForeverZer0/ExtractTarGz.cs
Use pure C# to extract .tar and .tar.gz files
View ExtractTarGz.cs
namespace TarExtractor;
using System.IO.Compression;
using System.Text;
public class Tar
{
/// <summary>
/// Extracts a <i>.tar.gz</i> archive to the specified directory.
/// </summary>