You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 16, 2023. It is now read-only.
Please consider adding positional buffer write methods to NativeBytes. Currently the only available method that comes close is:
void write(long offset, byte[] bytes, int off, int len);
However I am writing lock free many to one and one to many ring buffers. Not having a positional index makes it very difficult because I can't use/move the position of any of the buffers.
If the following write methods
void write(long offset, ByteBuffer bytes, int off, int len);
void write(long offset, Bytes bytes, int off, int len);
were added it would make this use case possible.
I have the same problem for reading, I am using buffers but only byte[] is supported via:
void readFully(long offset, @NotNull byte[] bytes, int off, int len);