]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.fastlz/src/org/simantics/fastlz/java/FastLZJavaInputStream.java
Refresh native part of org.simantics.fastlz compilation instructions.
[simantics/platform.git] / bundles / org.simantics.fastlz / src / org / simantics / fastlz / java / FastLZJavaInputStream.java
index d6ac30896efe9e8566d47e52927a19478b764576..290990b8deb0ccccbaea09ae7850ed3e8a266e77 100644 (file)
@@ -43,6 +43,11 @@ public class FastLZJavaInputStream extends DecompressingInputStream {
         super(stream, channel);\r
     }\r
 \r
+    @Override\r
+    protected ByteBuffer allocateBuffer(int capacity) {\r
+        return ByteBuffer.allocate(capacity);\r
+    }\r
+    \r
     @Override\r
     public void decompress(ByteBuffer compressed, int compressedOffset, int compressedSize, ByteBuffer uncompressed,\r
             int uncompressedOffset, int uncompressedSize) throws IOException {\r