Skip to content

Commit e4ced04

Browse files
committed
Add prefix-data note to features, fix unsafe note in README
1 parent ca2f02c commit e4ced04

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ But that's not all it does. That's just what that one comment says. Some other f
3131
- Naive: Scans only for `LocalFileHeader` values from the front of the file, the fastest implementation, but obviously naive
3232
- 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.
3333
- Inputs do not have to be on-disk to be read, you can supply zip data in-memory.
34+
- Tracks data in front of ZIP contents as `ZipArchive.getPrefixData()`
35+
- Useful for cases like keeping track of the executable header of Jar2Exe archives.
3436

3537
## Usage
3638

@@ -93,7 +95,7 @@ There is also a `ZipFile` delegating reader `AdaptingZipReader` but it should pr
9395

9496
## Building
9597

96-
Due to some `sun.misc.Unsafe` hacks _(For performance and long addressing)_, you will get compiler warnings when first opening the project in IntelliJ.
98+
Due to some `sun.misc.Unsafe` hacks _(For faster deflate performance)_, you will get compiler warnings when first opening the project in IntelliJ.
9799
You can resolve this by changing the compiler target:
98100

99101
![intellij compiler settings](docs/compiler-settings.png)

0 commit comments

Comments
 (0)