Skip to main content

scratch_ptr

Function scratch_ptr 

Source
pub unsafe fn scratch_ptr(ptr: *mut u8) -> *mut u8
Expand description

Returns a pointer to the scratch buffer region.

ยงSafety

ptr must point to an allocation large enough to contain the scratch buffer.