Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement io::Seek on io::BufReader and io::BufWriter #24176

Merged
merged 2 commits into from
Apr 9, 2015

Commits on Apr 9, 2015

  1. Implement io::Seek for io::BufReader<R> where R: io::Seek

    Seeking the `BufReader` discards the internal buffer (and adjusts the
    offset appropriately when seeking with `SeekFrom::Current(_)`).
    lilyball committed Apr 9, 2015
    Configuration menu
    Copy the full SHA
    0a380a9 View commit details
    Browse the repository at this point in the history
  2. Implement io::Seek for io::BufWriter<W> where W: io::Seek

    Seeking the `BufWriter` writes out its internal buffer before seeking.
    lilyball committed Apr 9, 2015
    Configuration menu
    Copy the full SHA
    1605205 View commit details
    Browse the repository at this point in the history