/// creates a new buffer with the specified capacity
creates a new buffer with the specified capacity
creates a new buffer with the specified capacity
pub(crate) fn with_capacity(size: usize) -> Self {
        Self {
            buffer: circular::Buffer::with_capacity(size),
            read_bytes: 0,
        }
    }
pub ( crate ) fn with_capacity ( size : usize ) -> Self { Self { buffer : circular :: Buffer :: with_capacity ( size ) , read_bytes : 0 , } }
creates a new buffer with the specified capacity
creates a new buffer with the specified capacity
size
usize