<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. 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> new ChannelBuffer[]{ </div><div> ChannelBuffers.wrappedBuffer("foo".getBytes());</div><div> }</div></div><div><br></div><div><br></div><div>Another thing I noticed is that if I send string+0x00 instead of just int+0x00, it works. So I presume there is a bug when using a plain old integer with a null delimiter.</div><br><br>> From: mmcgrady@topiatechnology.com<br>> To: netty-users@lists.jboss.org<br>> Subject: Re: Bug with DelimiterBasedFrameDecoder + Delimiters.nulDelimiter()        or I am doing it wrong?<br>> Date: Wed, 29 Jul 2009 16:19:29 -0700<br>> <br>> Did you read the javacode documentation for this class? I assume you <br>> did but what you say might indicate you did not. Please forgive me if <br>> you did and please do not take offense.<br>> <br>> Mike McGrady<br>> Principal Investigator AF081-028 AFRL SBIR<br>> Senior Engineer<br>> Topia Technology, Inc.<br>> 1.253.720.3365<br>> mmcgrady@topiatechnology.com<br>> <br>> _______________________________________________<br>> netty-users mailing list<br>> netty-users@lists.jboss.org<br>> https://lists.jboss.org/mailman/listinfo/netty-users<br></body>
</html>