Skip to main content

usable_size

Function usable_size 

Source
pub unsafe fn usable_size(p: *const u8) -> usize
Expand description

Bytes actually available in an allocation, which may exceed what was requested.

ยงSafety

p must be a live pointer from this allocator.