Closed
Description
There are several cases in binary parsing, where one needs to wrap a ByteArray
with an interface like Source
and read from it sequentially. It should be possible by using a Buffer
with a single Segment
, but Segment
API is private.
There should probably be two versions of the API: read/write and read-only.