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