#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

#933 in Network programming

Download history 7180/week @ 2023-12-06 7843/week @ 2023-12-13 5159/week @ 2023-12-20 4148/week @ 2023-12-27 6706/week @ 2024-01-03 7710/week @ 2024-01-10 8038/week @ 2024-01-17 7358/week @ 2024-01-24 7752/week @ 2024-01-31 8165/week @ 2024-02-07 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 7973/week @ 2024-03-20

35,218 downloads per month
Used in 269 crates (7 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