Try the unpack function, it should do quite nicely.

Chris

Ian Firla wrote:

Hello All,

I've hit a bit of a show stopper in a project I'm working on.

I'm getting a 65 byte stream of data. 32 of those bytes are of the type
"Byte Array". Is there a way that I can covert that data into something
useful?

For the record, the data stream that I'm getting is in the format:

|ascii|ascii|asciiX10|integerX4|byte arrayX32|

The byte array looks like this: gÃ.ÃÃ.ÃÆÃÃÂÃUâÃAÃÂ9xÅÂÃ|%ÃrÂÃ9â.

Any ideas?

Ian




-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to