mike-tr-adamson commented on code in PR #2673:
URL: https://github.com/apache/cassandra/pull/2673#discussion_r1358182918
##########
src/java/org/apache/cassandra/io/util/RandomAccessReader.java:
##########
@@ -71,6 +73,68 @@ private void reBufferAt(long position)
assert buffer.order() == ByteOrder.BIG_ENDIAN : "Buffer must have BIG
ENDIAN byte ordering";
}
+ public void readFully(float[] dest) throws IOException
Review Comment:
I realised that when I updated JVector to 1.0.2 and added more code in this
class. The original reason I added here was because `bufferHolder` and the
constructor were private.
I've changed this and pulled the `RandomAccessReaderAdapter` out into the
`vector` package and made it extend `RandomAccessReader`. This looks a lot
cleaner and limits the changes here to making `bufferHolder` and the
constructor protected.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]