```{index} single: pack_ptr (Peta::FFI) ``` ```{index} single: Peta::FFI::pack_ptr ``` # pack_ptr Pack an address into a native pointer-sized byte string. ## Synopsis ```perl # Build a char*[] for PQexecParams-style APIs: my $vec = join "", map { Peta::FFI::pack_ptr($_) } @addrs; ``` ## What you get back The address as native-endian bytes, sized to the platform pointer width - the in-memory representation a C pointer slot holds.