#buffer #io #networking #peekable #data-stream #reading #receiving

input_buffer

A peekable FIFO-like buffer for receiving network data efficiently

6 releases (breaking)

Uses old Rust 2015

0.5.0 Jul 2, 2021
0.4.0 Jan 7, 2021
0.3.1 Dec 11, 2019
0.2.0 Jul 2, 2018
0.1.1 Dec 12, 2017

#1376 in Network programming

Download history 7671/week @ 2024-09-16 9340/week @ 2024-09-23 9737/week @ 2024-09-30 6945/week @ 2024-10-07 8636/week @ 2024-10-14 10815/week @ 2024-10-21 8510/week @ 2024-10-28 8642/week @ 2024-11-04 6999/week @ 2024-11-11 7310/week @ 2024-11-18 8010/week @ 2024-11-25 9063/week @ 2024-12-02 9553/week @ 2024-12-09 8778/week @ 2024-12-16 3577/week @ 2024-12-23 3482/week @ 2024-12-30

25,971 downloads per month
Used in 259 crates (8 directly)

MIT/Apache

11KB
188 lines

Input-Buffer

A peekable FIFO-like buffer for receiving network data efficiently.

MIT licensed Apache-2.0 licensed Crates.io Build Status

Documentation

Contributing

Please report bugs and make feature requests here.


lib.rs:

A buffer for reading data from the network.

The InputBuffer is a buffer of bytes similar to a first-in, first-out queue. It is filled by reading from a stream supporting Read and is then accessible as a cursor for reading bytes.

Dependencies

~180KB