#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

#1274 in Network programming

Download history 7459/week @ 2024-11-17 8047/week @ 2024-11-24 8982/week @ 2024-12-01 9379/week @ 2024-12-08 9228/week @ 2024-12-15 3690/week @ 2024-12-22 3722/week @ 2024-12-29 9023/week @ 2025-01-05 10585/week @ 2025-01-12 9061/week @ 2025-01-19 8586/week @ 2025-01-26 21737/week @ 2025-02-02 13620/week @ 2025-02-09 9781/week @ 2025-02-16 9771/week @ 2025-02-23 8835/week @ 2025-03-02

45,167 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

~220KB