It's a series of bytes. This powershell works:
$len = $bytes.Count/8
for( $i = 0 ; $i -lt $len ; $i++) {
[System.BitConverter]::ToDouble($bytes, $i * 8 )
}
| [reply] [d/l] |
say for unpack "d*", $contents; # To print them as you were.
my @numbers = unpack "d*", $contents; # To store them in an array.
unpack
Mini-Tutorial: Formats for Packing and Unpacking Numbers | [reply] [d/l] [select] |
Did you try what I provided?
I think it's theoretically possible that the OP did follow the advice but struck an endianness issue which, to be resolved, would presumably require either:
unpack "d<*", $contents
or
unpack "d>*", $contents
Cheers, Rob | [reply] [d/l] |
| [reply] |