#io

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

#1682 in Network programming

Download history 16286/week @ 2023-02-04 15330/week @ 2023-02-11 15175/week @ 2023-02-18 19772/week @ 2023-02-25 15511/week @ 2023-03-04 12495/week @ 2023-03-11 13199/week @ 2023-03-18 13181/week @ 2023-03-25 13598/week @ 2023-04-01 11721/week @ 2023-04-08 12449/week @ 2023-04-15 13280/week @ 2023-04-22 13551/week @ 2023-04-29 11011/week @ 2023-05-06 11531/week @ 2023-05-13 9348/week @ 2023-05-20

47,555 downloads per month
Used in 270 crates (5 directly)

MIT/Apache

10KB
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