Fixed overflow in the example

This commit is contained in:
Trustin Lee 2009-04-06 11:35:40 +00:00
parent b22363b728
commit 1e00b56a70

View File

@ -800,7 +800,8 @@ public class TimeDecoder extends &ReplayingDecoder;<&VoidEnum;> {
@Override
protected Object decode(
&ChannelHandlerContext; ctx, &Channel; channel, &ChannelBuffer; buffer, &VoidEnum; state) {
&ChannelHandlerContext; ctx, &Channel; channel,
&ChannelBuffer; buffer, &VoidEnum; state) {
return buffer.readBytes(4);
}