Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Faster way to parse binary stream

by Roy Johnson (Monsignor)
on Jun 19, 2007 at 20:29 UTC ( [id://622097]=note: print w/replies, xml ) Need Help??


in reply to Re: Faster way to parse binary stream
in thread Faster way to parse binary stream

I hadn't seen the slash template item before. To quote from the docs:

The / template character allows packing and unpacking of strings where the packed structure contains a byte count followed by the string itself. You write length-item/string-item.

Good solution, BrowserUK.


Caution: Contents may have been coded under pressure.
  • Comment on Re^2: Faster way to parse binary stream

Replies are listed 'Best First'.
Re^3: Faster way to parse binary stream
by Anonymous Monk on Jun 19, 2007 at 21:27 UTC
    Thanks to all who replied - the "C/(C/A*)*" looks like the way to go :)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://622097]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2024-04-24 09:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found