This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* The following code is licensed under the CC0 1.0 Universal license. Details can be found at http://creativecommons.org/publicdomain/zero/1.0/ | |
To the full extent, I, a Canadian citizen have waived all copyright and related or neighboring rights to this work. */ | |
struct SeekableStreamWrapper<T: Read> { | |
offset: usize, | |
inner: T, | |
} | |
impl<T> Read for SeekableStreamWrapper<T> | |
where |