processedWrites++;
final int serializedSize = ds.getSerializedSize();
if (serializedSize == DeferredSerialization.EMPTY_MESSAGE_LENGTH) continue;
BBContainer outCont = m_queuedBuffers.peekLast();
ByteBuffer outbuf = null;
if (outCont == null || !outCont.b().hasRemaining()) {
outCont = pool.acquire();
outCont.b().clear();
m_queuedBuffers.offer(outCont);
}