#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

#673 in Network programming

Download history 8474/week @ 2024-07-28 7838/week @ 2024-08-04 11534/week @ 2024-08-11 9046/week @ 2024-08-18 10913/week @ 2024-08-25 9375/week @ 2024-09-01 9567/week @ 2024-09-08 7762/week @ 2024-09-15 9384/week @ 2024-09-22 9782/week @ 2024-09-29 7056/week @ 2024-10-06 8566/week @ 2024-10-13 10756/week @ 2024-10-20 8437/week @ 2024-10-27 8881/week @ 2024-11-03 6584/week @ 2024-11-10

35,096 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

~175KB