mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-21 00:00:10 +02:00
The reservation used `n`, the length after `length_adjustment` has been applied, but the encoder goes on to write `length_field_len` bytes of header plus `data.len()` bytes of payload. A positive `length_adjustment` therefore under-reserved by exactly the adjustment on every frame, and a negative one over-reserved, so the reservation did not match the write in either of the adjusted configurations shown in the module docs.
tokio-util
Utilities for working with Tokio.
License
This project is licensed under the MIT license.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Tokio by you, shall be licensed as MIT, without any additional terms or conditions.