GitXplorerGitXplorer
o

gzip-header

public
8 stars
1 forks
1 issues

Commits

List of commits on branch master.
Unverified
519819d8d9886f6fdf4cbc69d4e876a481ce5d8e

Bump version

ooyvindln committed 8 years ago
Unverified
7aef882b5b5fd53b8c64d5b67c7d4ebd4dbe0836

Fix clippy issues

ooyvindln committed 8 years ago
Unverified
98f111412fa0ad919bdc62133496124ef9ea7458

Some more derives and comments

ooyvindln committed 8 years ago
Unverified
062503fb7aed770b8e31539b7b43d5343ecb8444

Implement display and fromPrimitive for some types

ooyvindln committed 8 years ago
Unverified
46c000cd9d3d0028acba9f5c50b56c19876e62ea

Extra field can contain 0 bytes

ooyvindln committed 8 years ago
Unverified
a48506f13470628248b5b66834f5590872da8534

Add method to get mtime as datetime and improve documentation a bit.

ooyvindln committed 8 years ago

README

The README file for this repository.

gzip-header

A library to decode and encode headers for the gzip format. The library also contains a reader absctraction over a CRC checksum hasher.

A file in the gzip format contains a gzip header, a number of compressed data blocks in the DEFLATE format, and ends with the CRC32-checksum (in the IEEE format) and number of bytes (modulo 2^32) of the uncompressed data.

The gzip header is purely a set of metadata, and doesn't have any impact on the decoding of the compressed data other than the fact that DEFLATE-encoded data with a gzip-header is checked using the CRC32 algorithm.

This library is based on the gzip header functionality in the flate2 crate.

Currently requires rust 1.32 and newer.

License

Like the non-C parts of flate2-rs, gzip-header is distributed under the terms of both the MIT license and the Apache License (Version 2.0),

See LICENSE-APACHE, and LICENSE-MIT for details.