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

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

#1227 in Network programming

Download history 11763/week @ 2024-04-22 10539/week @ 2024-04-29 8252/week @ 2024-05-06 9236/week @ 2024-05-13 10166/week @ 2024-05-20 8942/week @ 2024-05-27 9409/week @ 2024-06-03 8069/week @ 2024-06-10 7590/week @ 2024-06-17 9188/week @ 2024-06-24 5646/week @ 2024-07-01 7437/week @ 2024-07-08 8233/week @ 2024-07-15 8474/week @ 2024-07-22 8388/week @ 2024-07-29 7997/week @ 2024-08-05

33,853 downloads per month
Used in 261 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