mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-11-22 16:56:40 -06:00
fix: HashedToByteBuffer uses configured limit
This commit is contained in:
parent
152f1d646b
commit
4070d6c83d
@ -51,6 +51,7 @@ public class HashedToByteBuffer implements LongFunction<ByteBuffer> {
|
||||
buffer.putLong(l);
|
||||
}
|
||||
buffer.flip();
|
||||
buffer.limit(length);
|
||||
return buffer;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user