'Return the length of the Buffer object.'

def __len__(self):

    length = 0
    for buf in self.buffers:
        buf.seek(0, 2)
        if (buf == self.buffers[0]):
            length += (buf.tell() - self.read_pos)
        else:
            length += buf.tell()
    return length
