war 0.1.1

A viewer/editor for Darksiders saves, worlds, and scripts
Documentation
use std::io::{self, Seek, SeekFrom};

pub trait SeekExt {
    fn stream_position_ext(&mut self) -> io::Result<u64>;
}

impl<S: Seek> SeekExt for S {
    // copy/paste of unstable `Seek::stream_position`
    fn stream_position_ext(&mut self) -> io::Result<u64> {
        self.seek(SeekFrom::Current(0))
    }
}