(&self)
| 35 | /// Pointer to the first usable byte after the header (aligned). |
| 36 | #[inline(always)] |
| 37 | fn data_start(&self) -> *mut u8 { |
| 38 | let header_end = (self as *const Self as usize) + core::mem::size_of::<Self>(); |
| 39 | let aligned = (header_end + ALIGN - 1) & !(ALIGN - 1); |
| 40 | aligned as *mut u8 |
| 41 | } |
| 42 | |
| 43 | /// Pointer past the last usable byte. |
| 44 | #[inline(always)] |
no outgoing calls
no test coverage detected