atleastN
bytes more into the buffer if there's space. Otherwise, allocate a bigger buffer that'll accomodate the earlier contents and atleastN more bytes.
@param buf ByteBuffer to be filled
@param atleastN At least this many bytes to be read.
@throws IOException
|
|