def _a_decode_unicode(stream, offset, count, _):
    """
    'a3sbar',3,3 --> 6,u'bar'
    """
    if len(stream) >= offset + count:
        return offset + count, stream[offset:offset + count].decode('UTF-8')
    else:
        raise ValueError('Invalid stream length', len(stream), offset + count)
