Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 402 Bytes

README.md

File metadata and controls

12 lines (10 loc) · 402 Bytes

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);