Skip to content

Instantly share code, notes, and snippets.

Tobias Käfer kaefer3000

  • Karlsruhe, Germany
Block or report user

Report or block kaefer3000

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@kaefer3000
kaefer3000 / mozlz4a.py
Created Aug 23, 2018 — forked from Tblue/mozlz4a.py
MozLz4a compression/decompression utility
View mozlz4a.py
#!/usr/bin/env python
#
# Decompressor/compressor for files in Mozilla's "mozLz4" format. Firefox uses this file format to
# compress e. g. bookmark backups (*.jsonlz4).
#
# This file format is in fact just plain LZ4 data with a custom header (magic number [8 bytes] and
# uncompressed file size [4 bytes, little endian]).
#
# This Python 3 script requires the LZ4 bindings for Python, see: https://pypi.python.org/pypi/lz4
#
You can’t perform that action at this time.