diff options
author | Ondřej Hruška <ondra@ondrovo.com> | 2020-05-20 21:45:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-20 21:45:03 +0200 |
commit | 456369983826cd83233a6359cfe7aaadecf7ae95 (patch) | |
tree | 1de8f8a2be2c87a0c58f608891ea72c17fcc226c /tokio-macros | |
parent | f48065910eca238d7ed644807f85c921deb12ec3 (diff) |
codec: add Framed::read_buffer_mut (#2546)
Adds a method to retrieve a mutable reference to the Framed stream's read buffer.
This makes it possible to e.g. externally clear the buffer to prevent the codec from
parsing stale data.
Diffstat (limited to 'tokio-macros')
0 files changed, 0 insertions, 0 deletions