You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,10 @@ But that's not all it does. That's just what that one comment says. Some other f
28
28
- Reads ZIP files using Unsafe backed mapped files.
29
29
- Using `FileChannel.map` yields `MappedByteBuffer` which uses `int` values, limiting files up to about 2GB
30
30
- Our `UnsafeMappedFile` implementation uses `long` which far exceeds the GB file size range
31
+
- Highly configurable, offering 3 ZIP reading strategies out of the box _(See `ZipIO` for convenience calls)_
32
+
- Std / Forward scanning: Scans for `EndOfCentralDirectory` from the front of the file, like many other tools
33
+
- Naive: Scans only for `LocalFileHeader` values from the front of the file, the fastest implementation, but obviously naive
34
+
- JVM: Matches the behavior of the JVM's ZIP parser, including a number of odd edge cases. Useful for opening JAR files to mirror `java -jar <path>` behavior.
0 commit comments