pub fn static_allocate(capacity: u64) -> UniquePtr<Bytes>