Skip to content

Instantly share code, notes, and snippets.

@jack980517
jack980517 / lz4.py
Created January 18, 2017 14:47 — forked from weigon/lz4.py
LZ4 uncompress in pure python
from io import BytesIO
from six.moves import xrange # pylint: disable=redefined-builtin
from six import byte2int
class CorruptError(Exception):
pass
def uncompress(src):
QMA 4 GEM 2007/01/11
IIDX GOLD GLD 2007/02/21
pop'n 15 G15 2007/04/25
Otomedius GGG 2007/11/02
DJ Troopers HDD 2007/12/19
QMA 5 HAL 2008/01/12
pop'n 16 H16 2008/03/24
Horseriders G23 2008/04/09
GFDM V5 H32/H33 2008/06/18
MFC 7 HK9