subio 0.2.0

Read, write, and seek within a portion of a file as if it were itself a standalone file.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# subio

Implementing IO traits on regions of IO-compatible types.

## Use case

It is often convenient to read, write, and seek within a portion of a file as if it were itself a standalone file.
For example, a tar or zip archive, which are a number of file entries concatenated together with some metadata.

`subio` does the (trivial) bookkeeping to allow that to happen, for standard traits [std::io::Read], [std::io::Write], [std::io::Seek] etc..

## Extension

The provided types could be extended to support other IO traits like those provided by various async runtimes and io_uring.