if (buffer.readableBytes() < dataLen + 4) {
return null;
}
buffer.skipBytes(4);
CompactObjectInputStream cois = new CompactObjectInputStream(
new ChannelBufferInputStream(buffer, dataLen), classLoader);
result = cois.readObject();
streams = ExternalizeUtil.readList(cois, StreamFactoryReference.class);
streamIndex = 0;
}
while (streamIndex < streams.size()) {
if (buffer.readableBytes() < 2) {