#byte-buffer #write #chunk #single-thread-oriented

nightly no-std fastbuf

single-thread-oriented very fast byte buffer

43 breaking releases

0.44.0 Jan 1, 2025
0.43.0 Dec 27, 2024
0.42.0 Dec 27, 2024
0.26.0 Nov 12, 2024

#900 in Algorithms

Download history 7/week @ 2024-09-18 11/week @ 2024-09-25 5/week @ 2024-10-02 1/week @ 2024-10-09 3/week @ 2024-10-30 69/week @ 2024-11-06 60/week @ 2024-11-13 18/week @ 2024-11-20 47/week @ 2024-11-27 295/week @ 2024-12-04 141/week @ 2024-12-11 644/week @ 2024-12-18 1085/week @ 2024-12-25 263/week @ 2025-01-01

2,274 downloads per month
Used in 3 crates (2 directly)

MIT license

34KB
876 lines

FastBuf

Documentation crates.io

single-thread-oriented very fast byte buffer

use fastbuf::{Buffer, WriteBuf, ReadBuf, Chunk};
let mut buffer: Buffer<[u8; 100]> = Buffer::new();
buffer.write(&[0; 100]);
let read: &[u8] = buffer.read(100);

No runtime deps

Features