1use crate::Buffer; 2 3impl Buffer { 4 #[inline] 5 /// Creates an empty Buffer. 6 pub const fn new() -> Self { 7 Self { 8 capacity: 0, 9 length: 0, 10 ptr: std::ptr::null_mut(), 11 } 12 } 13}