Re: [PHP] unpack on offsets in binary data in variable?

2007-01-08 Thread Robert Cummings
On Mon, 2007-01-08 at 16:20 +0100, Markus Fischer wrote: > Hi, > > I'm searching for an efficient way to use unpack on binary data within a > variable (php 5.1.something). In the past I was doing > > fopen > fseek > unpack( fread(...) > fseek > etc. > > Now this time I need to do the same, but I

[PHP] unpack on offsets in binary data in variable?

2007-01-08 Thread Markus Fischer
Hi, I'm searching for an efficient way to use unpack on binary data within a variable (php 5.1.something). In the past I was doing fopen fseek unpack( fread(...) fseek etc. Now this time I need to do the same, but I don't have an actual file: my data is only in a variable and I don't want to ope