elect10/18/2023, 7:57 AM
to a specific location, however I get
java.lang.ArrayIndexOutOfBoundsException: offset=25403 > size=7365I guess because the 8k segment just run out However, if I try instead to consume bytes infinitely, I can consume around 4.7MB before I reach the end of the file (
) So, is the
just for segments? How can I
for positions outside the current segment?
looks what I needed, but I need to jump forth and back from
Filipp Zhinkin10/18/2023, 11:17 AM
It refers to the size of a buffer, not a particular segment. You can try calling `request`/`require` on a source before using
to ensure that enough data were buffered.