Closed maxnoe closed 5 years ago
No, as documented in #389, the calls to asXXXXBuffer
create a new view, that by design has an independent position. So this is the intended behaviour. We just used it wrong.
Ah I missed that link to the documentation .. so this was wrong all the time and in all the places you fixed it ... and it was never realized. ... that is ... somehow depressing.
No, as documented in #389, the calls to
asXXXXBuffer
create a new view, that by design has an independent position. So this is the intended behaviour. We just used it wrong.
Aha. That's surprising.
Can we advance the buffer by hand? We replaced all those loops a while ago on purpose.
Replaced the loops with reading into arrays by directly putting the correct buffer views into the tile cache.
Is the fact that the buffer was not advanced a bug in get() ?