#seek #ext #stream #length

seek-ext

Extension trait to add convenience methods to io::Seek types

1 unstable release

0.1.0 Jan 28, 2019

#27 in #seek

MIT/Apache

10KB
139 lines

seek-ext: convenience methods for io::Seek

Build Status crates.io version docs

This crate offers the trait SeekExt which is implemented for all T where T: io::Seek. That way, some convenience methods are added to all types that implement io::Seek.

This crate was created mainly to drive discussion about the inclusion of these convenience methods into the standard library.


License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

No runtime deps