Byte_Buffer
What is this
This crate provides an easy-to-use and manageable byte buffer in frequent I/O operations, where implementations of the Read/Write traits are used extensively. With our pre-allocated buffer pool, your I/O code can save tons of wasted CPU cycles for dynamic buffer allocations, which are often the bottleneck of the throughout performance.
Use this crate
To use this crate, add the crate dependency in your project's Cargo.toml file:
[dependencies]
byte_buffer = "0.1"
Then you can use the buffer, after declaring the amount of buffer instances to be initialized, and the capacity of each instance.
extern crate byte_buffer;
use *;
Contributions are welcome!
Please feel free to submit bug reports or features.