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

impl Read and Write for VecDeque<u8> #95632

Merged
merged 1 commit into from
Jun 9, 2022
Merged

Commits on May 19, 2022

  1. impl Read and Write for VecDeque<u8>

    * For read and read_buf, only the front slice of a discontiguous
    VecDeque is copied. The VecDeque is advanced after reading, making any
    back slice available for reading with a second call to Read::read(_buf).
    
    * For write, the VecDeque always appends the entire slice to the end,
    growing its allocation when necessary.
    evanrichter committed May 19, 2022
    Configuration menu
    Copy the full SHA
    8b7a3f4 View commit details
    Browse the repository at this point in the history