Hi Helloyattie, On 3/16/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi, > I want to decode streamly, that is "A decoder does not have to have > the > whole data sequence to start parsing. If it receives less data then > required, it will process as much as possible and may be invoked again > later, when the next chunk of data becomes available. > ". Can anybody give me some suggestions?
There is a class called 'CumulativeProtocolDecoder' IIRC. It buffers unprocessed part so you can process it later when more data is received. HTH, Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/ -- PGP key fingerprints: * E167 E6AF E73A CBCE EE41 4A29 544D DE48 FE95 4E7E * B693 628E 6047 4F8F CFA4 455E 1C62 A7DC 0255 ECA6
