Here is a snippet to unpack 16 hex digits into a binary buffer that is a proper int64 to pass to a Win32::API call.
# $val is up to 16 hex digits. $val = '0' . $val while length($val) < 16; my $int64= reverse pack ("H16", $val);
In reply to 64-bit hex integer representation under Win32 by John M. Dlugosz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |