LengthFieldBasedFrameDecoder's maxFrameLength?

hezjing hezjing at gmail.com
Thu Aug 20 02:51:45 EDT 2009


Hi
May I know what is the maxFrameLength described in the constructor
of LengthFieldBasedFrameDecoder?

Assuming I have a fixed length header of 10 bytes and 2 bytes length field
at offset 5,
then the maxFrameLength is 10 (the size of the header)?


The examples described in the LengthFieldBasedFrameDecoder apidoc is very
helpful,
probably we can also describe the maxFrameLength for every example in
addition to lengthFieldOffset, lengthFieldLength, lengthAdjustment
and initialBytesToStrip

:-)


-- 

Hez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/netty-users/attachments/20090820/2d0ad344/attachment-0001.html 


More information about the netty-users mailing list