positioned-io

This crate allows you to specify an offset for reads and writes, without changing the current position in a file. This is similar to pread() and pwrite() in C.

The major advantages of this type of I/O are:

Build Status

Example

Read the fifth 512-byte sector of a file:

```rust use positioned_io::ReadAt;

// Note that file does not need to be mut! let file = try!(File::open("foo.data")); let mut buf = vec![0; 512]; let bytesread = try!(file.readat(2048, &mut buf)); ```

Documentation

http://vasi.github.io/positioned-io/positioned_io/

Usage

TODO