'Adds data to the buffer.
Arguments:
data(str,Buffer): Data to add'

def add(self, data):

    if (not data):
        return
    if isinstance(data, Buffer):
        self.size += data.size
        self.data += data.data
    else:
        self.size += len(data)
        self.data.append(data)
