Registry / networking / bufstream

bufstream

JSON →
library0.1.4rscratesunverified

Provides buffered I/O for streams with separate read and write buffers.

# Cargo.toml [dependencies] bufstream = "0.1.4"
INSTALL
IMPORT
SIG · BUFSTREAM
B
bufstream
networkingrustv0.1.4
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.

BufStream
✓ use bufstream::BufStream;

Wrap a TcpStream with BufStream for buffered reading and writing.

use bufstream::BufStream; use std::io::{BufRead, Write}; let stream = std::net::TcpStream::connect("127.0.0.1:8080").unwrap(); let mut buf_stream = BufStream::new(stream); buf_stream.write_all(b"hello").unwrap(); let mut line = String::new(); buf_stream.read_line(&mut line).unwrap();
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.4latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
22
OpenAI (training)
1
Resources
bufstream — cargo add bufstream · libregistry