Skip to content

Instantly share code, notes, and snippets.

@tmcw
Created April 18, 2012 04:04
Show Gist options
  • Save tmcw/2411042 to your computer and use it in GitHub Desktop.
Save tmcw/2411042 to your computer and use it in GitHub Desktop.
zlib = require 'zlib'
head_file = io.open('test_zlib', 'rb')
print (zlib.inflate()(head_file:read(10000)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment