def __init__(self, connection, encoding):
    self._encoding = encoding
    self._connection = connection
    self._buffer = []
def __init__(self, connection, encoding):
    self._encoding = encoding
    self._connection = connection
    self._buffer = []