fix: HashedToByteBuffer uses configured limit

This commit is contained in:
Jonathan Shook 2020-07-27 20:02:33 -05:00
parent 152f1d646b
commit 4070d6c83d

View File

@ -51,6 +51,7 @@ public class HashedToByteBuffer implements LongFunction<ByteBuffer> {
buffer.putLong(l);
}
buffer.flip();
buffer.limit(length);
return buffer;
}