Skip to content

Instantly share code, notes, and snippets.

View Matheos96's full-sized avatar

Matheos Mattsson Matheos96

View GitHub Profile
@Matheos96
Matheos96 / ExtractTarGz.cs
Last active February 3, 2023 11:11 — forked from ForeverZer0/ExtractTarGz.cs
Use pure C# to extract .tar and .tar.gz files
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>