This commit is contained in:
iceBear67 committed 2025-10-02 12:05:00 +08:00
1 parent 482b975c79
commit 072482c12b
5 files changed
+15 -65

No files matched your search

@@ -33,7 +33,6 @@ public class BundleReader {
}
public void extract(Path bundle, Path destination) throws IOException {
var symbolsToLink = new HashMap<String, String>();
var readMaps = new HashMap<String, Long>();
try (var zstd = new ZstdInputStreamNoFinalizer(Files.newInputStream(bundle, StandardOpenOption.READ));
var in = new EntryInputStream(zstd)) {
@@ -119,7 +119,7 @@ public class RegionParser implements Closeable {
case 2 -> new DeflaterInputStream(new ByteBufInputStream(in));
case 3 -> new ByteBufInputStream(in);
case 4 -> new LZ4BlockInputStream(new ByteBufInputStream(in));
// user defined compression algorithm, no going to support.
// user defined compression algorithm, not going to support.
// (or mcc)
default -> throw new IOException("Unsupported compression type. " + compressionType);
};