CompositeWritableBuffer outputBuffer =
new CompositeWritableBuffer(
new WritableBuffer.ByteBufferWrapper(ByteBuffer.wrap(bytes, offset + written, size - written)),
new WritableBuffer.ByteBufferWrapper(_overflowBuffer));
if( outputBuffer.remaining() >= _maxFrameSize ) { written += processHeader(outputBuffer);
if( outputBuffer.remaining() >= _maxFrameSize ) { written += processOpen(outputBuffer);
if( outputBuffer.remaining() >= _maxFrameSize ) { written += processBegin(outputBuffer);
if( outputBuffer.remaining() >= _maxFrameSize ) { written += processAttach(outputBuffer);
if( outputBuffer.remaining() >= _maxFrameSize ) { written += processReceiverDisposition(outputBuffer);
if( outputBuffer.remaining() >= _maxFrameSize ) { written += processReceiverFlow(outputBuffer);