ffi_unpack_ptr#

Unpack a native pointer-sized byte string into an address.

Synopsis#

my $db = Peta::FFI::unpack_ptr(Peta::FFI::peek($out, 8));

What you get back#

The address stored in the string’s first pointer-sized bytes, as an integer for o arguments. Croaks when the string is shorter than the platform pointer width.