Why is ByteBuffer.get(byte[] dst, int offset, int length) so fast?
The
documentation says :
public ByteBuffer get(byte[] dst,
int offset,
int length)
Relative bulk get method.
This method transfers bytes from this buffer into the given
destination array. If there are fewer bytes remaining in the buffer
than are required to satisfy the request, that is, if length >
remaining(), then no bytes are transferred and a...