The simple to use, growable, contiguous buffer object with right assumptions and interface. Tuned for using it for network buffers.


Keywords
network, vec, buffer, netbuf, buf
Licenses
MIT/Apache-2.0

Documentation

Netbuf

Documentation | Github | Crate

The network buffer for usage in asynchronous network applications. Has right interface for reading from network into the Buf and for parsing packets directly from it. It also has capacity management tuned for network application (i.e. it starts growing fast, but deallocated for idle connections).

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.