Skip to content

Commit

Permalink
iter
Browse files Browse the repository at this point in the history
  • Loading branch information
jpountz committed Mar 14, 2024
1 parent 6e824fc commit cf60789
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ public void decompress(DataInput in, int originalLength, int offset, int length,
final int compressedLength = in.readVInt();

try (
CloseableByteBuffer src = NativeAccess.instance().newBuffer(compressedLength);
CloseableByteBuffer dest = NativeAccess.instance().newBuffer(originalLength)
CloseableByteBuffer src = nativeAccess.newBuffer(compressedLength);
CloseableByteBuffer dest = nativeAccess.newBuffer(originalLength)
) {

while (src.buffer().position() < compressedLength) {
Expand Down

0 comments on commit cf60789

Please sign in to comment.