Updated GZip: remove buffer copy on read, simplify reading of bits arrays