#io #buffer #networking #data #peekable #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

#1278 in Network programming

Download history 7996/week @ 2024-02-14 8114/week @ 2024-02-21 8403/week @ 2024-02-28 9029/week @ 2024-03-06 8399/week @ 2024-03-13 9700/week @ 2024-03-20 9055/week @ 2024-03-27 9465/week @ 2024-04-03 9006/week @ 2024-04-10 10945/week @ 2024-04-17 11053/week @ 2024-04-24 10241/week @ 2024-05-01 8375/week @ 2024-05-08 9710/week @ 2024-05-15 9589/week @ 2024-05-22 9082/week @ 2024-05-29

38,253 downloads per month
Used in 262 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

~170KB