Skip to content

Instantly share code, notes, and snippets.

View robot9706's full-sized avatar
🐢

Bence robot9706

🐢
  • Hungary
View GitHub Profile
@jpcy
jpcy / Notes on embedding Mono on Windows.md
Last active October 26, 2022 21:13
Notes on embedding Mono on Windows
@kebby
kebby / ZLibDecoder.cs
Created October 28, 2013 10:31
Inflate (ZLib decoder) implementation in C#, taken from Sean Barrett's stb_image: http://nothings.org/stb_image.c You might wonder why I did this if there has always been DeflateStream which works well enough: I had to learn that DeflateStream isn't always available. One example is the Unity3D engine where you can't use it in web player projects…
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace Utility
{
/// <summary>
/// public domain zlib decode
/// original: v0.2 Sean Barrett 2006-11-18