code: def decode(self, data, as_list=False):
          
          return self._concat(self.decode_streaming(data))
docs: Decode given data.
  
          :param data: sequence of bytes (string, list or generator of bytes)
          :param as_list: whether to return as a list instead of
          :return: