These are chat archives for atomix/atomix

Apr 2018
Johno Crawford
Apr 07 2018 09:39
(using readfully)
 * @return     the total number of bytes read into the buffer, or
 *             {@code -1} if there is no more data because the end of
 *             the file has been reached.
read might not read the entire amount of given bytes into the buffer
Johno Crawford
Apr 07 2018 12:29

Although RandomAccessFile is not a subclass of InputStream, this method behaves in exactly the same way as the method of InputStream.[],%20int,%20int)

An attempt is made to read as many as len bytes, but a smaller number may be read.