<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<div><br></div><div>Yes I did read the doc and even looked at the sources. &nbsp;It is supposed to split a ChannelBuffer using another ChannelBuffer(s) as a delimiter, right?</div><div><br></div><div>The part I changed is to use the following delimiter instead of Delimiters.nulDelimiter() :</div><div><br></div><div><div>&nbsp;new ChannelBuffer[]{&nbsp;</div><div>&nbsp;&nbsp; ChannelBuffers.wrappedBuffer("foo".getBytes());</div><div>&nbsp;}</div></div><div><br></div><div><br></div><div>Another thing I noticed is that if I send &nbsp; string+0x00 &nbsp;instead of just int+0x00, &nbsp;it works. &nbsp;So I presume there is a bug when using a plain old integer with a null delimiter.</div><br><br>&gt; From: mmcgrady@topiatechnology.com<br>&gt; To: netty-users@lists.jboss.org<br>&gt; Subject: Re: Bug with DelimiterBasedFrameDecoder + Delimiters.nulDelimiter()        or I am doing it wrong?<br>&gt; Date: Wed, 29 Jul 2009 16:19:29 -0700<br>&gt; <br>&gt; Did you read the javacode documentation for this class?  I assume you  <br>&gt; did but what you say might indicate you did not.  Please forgive me if  <br>&gt; you did and please do not take offense.<br>&gt; <br>&gt; Mike McGrady<br>&gt; Principal Investigator AF081-028 AFRL SBIR<br>&gt; Senior Engineer<br>&gt; Topia Technology, Inc.<br>&gt; 1.253.720.3365<br>&gt; mmcgrady@topiatechnology.com<br>&gt; <br>&gt; _______________________________________________<br>&gt; netty-users mailing list<br>&gt; netty-users@lists.jboss.org<br>&gt; https://lists.jboss.org/mailman/listinfo/netty-users<br></body>
</html>