def _blob(self, bounds):
        length = self._int(bounds)
        result = self._buffer.read_aligned_bytes(length)
        try:
            result = {'utf8': result.decode('utf-8', 'strict')}
        except __HOLE__:
            result = {
                'utf8': result.decode('utf-8', 'replace'),
                'base64': base64.b64encode(result)
            }
        return result
dataset/ETHPy150Open karlgluck/heroes-of-the-storm-replay-parser/s2protocol/decoders.py/BitPackedDecoder._blob