pub unsafe fn scratch_ptr(ptr: *mut u8) -> *mut u8
Returns a pointer to the scratch buffer region.
ptr must point to an allocation large enough to contain the scratch buffer.
ptr