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