Fixed overflow in the example
This commit is contained in:
parent
b22363b728
commit
1e00b56a70
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user