Dear Lazyweb, Perl unpack question
Nov. 21st, 2008 12:53 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
So I have a string that has a binary data structure in it, and I want to use Perl's unpack() on it
The binary structure is a 32bit int, followed by N 8 byte chunks. And I don't have quadwords in this build of Perl, so I cant treat them as 64bit ints.
And the following unpack string doesnt work: "L(a8)*".
What would the correct unpack string be?
The binary structure is a 32bit int, followed by N 8 byte chunks. And I don't have quadwords in this build of Perl, so I cant treat them as 64bit ints.
And the following unpack string doesnt work: "L(a8)*".
What would the correct unpack string be?