Skip to content

Commit 9f31b30

Browse files
committed
Add readme note on MappedFile usage
1 parent 4423325 commit 9f31b30

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ But that's not all it does. That's just what that one comment says. Some other f
2323
- The file data of local file headers is not size bound by the file header's compressed size field. Instead, it uses the central directory header's declared size.
2424
- Class names are allowed to end in trailing `/` which most tools interpret as directories.
2525

26+
## Additional features
27+
28+
- Reads ZIP files using Unsafe backed mapped files.
29+
- Using `FileChannel.map` yields `MappedByteBuffer` which uses `int` values, limiting files up to about 2GB
30+
- Our `UnsafeMappedFile` implementation uses `long` which far exceeds the GB file size range
31+
2632
## Usage
2733

2834
Maven dependency:

0 commit comments

Comments
 (0)