water_buffer 1.2.8

A high-performance, zero-overhead byte buffer implementation in Rust that outperforms the industry-standard `BytesMut` by **6-11x** in most scenarios.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// use water_buffer::WaterBuffer;

fn main(){

    // let buf = WaterBuffer::with_capacity(200);
    // {
    //     let mut b2 = unsafe {buf.unsafe_clone()};
    //     b2.extend_from_slice(b"hello world");
    //     println!("{:?} {:?}",buf,b2);
    // }
    //
    // println!("buf {:?}",String::from_utf8_lossy(&buf[..]));
}