bl
bl copied to clipboard
Feature request: seek()
Like consume() but you can seek backwards. Eg. seek(10), seek(0).
maybe shallowSlice() would serve this purpose well enough? Have you tried to apply it where you have this use-case?
I did. It works at the cost of added noise, meaning I have to assign the shallow copy to a variable and then work with that, rather than single BufferList. All in all though it's acceptable 👍