public long size()
    {
        long size = 0;
        for (ByteBuffer b : buffers)
        {
            size += b.remaining();
        }
        if (current != null)
            size += current.position();

        return size;
    }
A list of ByteBuffers.

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