Registry / networking / netbuf

netbuf

JSON →
library0.4.1rscratesunverified

A growable, contiguous buffer optimized for network buffers.

# Cargo.toml [dependencies] netbuf = "0.4.1"
INSTALL
IMPORT
SIG · NETBUF
N
netbuf
networkingrustv0.4.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Buf
use netbuf::Buf;

Creates a new network buffer and writes data into it.

use netbuf::Buf; fn main() { let mut buf = Buf::new(); buf.write(b"hello"); println!("Buffer length: {}", buf.len()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.4.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
netbuf — cargo add netbuf · libregistry