pub fn with_capacity(capacity: usize) -> Self {
        Self {
            buf: bytes::BytesMut::with_capacity(capacity)
        }
    }
///Creates new instance with provided capacity
Creates new instance with provided capacity
Creates new instance with provided capacity
pub fn with_capacity(capacity: usize) -> Self {
        Self {
            buf: bytes::BytesMut::with_capacity(capacity)
        }
    }
pub fn with_capacity ( capacity : usize ) -> Self { Self { buf : bytes :: BytesMut :: with_capacity ( capacity ) } }
Creates new instance with provided capacity
Creates new instance with provided capacity
capacity
usize