private void spliceBuffer(ByteBuffer buf)
    {
        // the current buffer is empty case.
        if (current.position() == 0)
        {
            buffers.add(buf);
            return;
        }

        current.flip();
        buffers.add(current);
        buffers.add(buf);
        current = ByteBuffer.allocate(allocSize);
    }
A list of ByteBuffers.

@author Ryan Rawson
protostuff-core/src/main/java/io/protostuff/LinkBuffer.java