2627282930313233343536
buf.markReaderIndex(); // read the size of the message buf.readInt(); DefaultMessageTree result = (DefaultMessageTree) codec.decode(buf); buf.resetReaderIndex(); result.setBuffer(buf); } } public MessageTree buildMessage() {