def METHOD_NAME(self, data):
    """
    Adds data to the buffer.
    Arguments:
        data(str,Buffer): Data to add
    """
    # Fast path for ''
    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)