Join Slack
Powered by
how can I set a new head position (an arbitrary of...
# io
e
elect
10/15/2023, 2:51 PM
how can I set a new head position (an arbitrary offset) to start consuming in
Buffer
?
f
Filipp Zhinkin
10/17/2023, 7:44 AM
If you're asking about `kotlinx-io`/`Okio`
Buffer
, then you can advance to an arbitrary offset using
skip
, but it'll, as the name suggests, skip a prefix of data.
2
Views
Open in Slack
Previous
Next