15161718192021
@Override public IncrementStatisticMessage decode(ChannelBuffer buffer) throws IOException { int id = buffer.readInt(); int amount = buffer.readUnsignedByte(); return new IncrementStatisticMessage(id, amount); }