I would like to skip an arbitrary number of bytes when working with a Read
instance without doing any allocations. After skipping, I need to continue reading the data that follows.
The number of bytes is not known at compile time, so I cannot create a fixed array. Read
also has no skip so I need to read into something, it seems. I do not want to use BufReader
and allocate unnecessary buffers and I do not want to read byte-by-byte as this is inefficient.
Any other options?