Commit graph

18 commits

Author SHA1 Message Date
Zachary Dremann
b3c836d9c3 Ensure crc32 checksum is checked only at the end of the reader
The caller can pass in an empty slice for reading, which should return
`Ok(0)`, not raise an error about an invalid checksum prematurely
2020-05-15 17:11:49 -04:00
Zachary Dremann
2b50419947 Add some simple crc32 reader tests 2020-05-15 17:10:58 -04:00
Sam Rijs
8ae6d81ab9 use crc32fast crate for checksumming 2018-11-14 00:44:34 +11:00
Mathijs van de Nes
d2ccfc16f7 Speed up Drop of ZipFileReader
Skip CRC and decompression when dropping an owned ZipFileReader
2018-06-17 15:16:14 +02:00
Mathijs van de Nes
240e1d469d Corrected some static -> const 2017-04-28 10:31:12 +02:00
Mathijs van de Nes
25a2ba7383 Small update to crc32 function 2015-06-30 08:54:53 +02:00
Mathijs van de Nes
9e364698a0 Simplify CRC32 code 2015-06-24 08:43:41 +02:00
Mathijs van de Nes
d3f0743bfa Add tests to the CRC32 module 2015-06-24 08:43:23 +02:00
Mathijs van de Nes
80fd4b6dcf Update to new (io::)Error 2015-04-02 20:50:50 +02:00
Mathijs van de Nes
bb89f577c5 Convert reader to new IO 2015-02-24 16:02:16 +01:00
Mathijs van de Nes
078ba7eda0 io -> old_io 2015-01-29 11:00:30 +01:00
Mathijs van de Nes
70532d7b48 Fixed int/uint, and use as much stable as possible 2015-01-10 15:52:05 +01:00
Mathijs van de Nes
f83994820c Fix breaking rust changes 2015-01-04 10:50:17 +01:00
Mathijs van de Nes
3abe0aa893 De-pub crc32 and rename some of the functions 2014-09-11 12:01:07 +02:00
Mathijs van de Nes
02059ce351 Added documentation and moved types to top 2014-09-11 11:48:44 +02:00
Mathijs van de Nes
08dbe1c3fc Starting implementation of a Writer 2014-09-10 22:34:30 +02:00
Mathijs van de Nes
b6a0de8b3c Simple ZIPs can be extracted! 2014-09-09 15:56:15 +02:00
Mathijs van de Nes
c96a687783 Inital commit, containing crc32 2014-09-07 11:53:43 +00:00