

def parse_result(self, data):
    ' Return True if the public_id in the response matches the one in the request. '
    count = ord(data[0])
    if (self.offset == 0):
        if (count != count.num_bytes):
            raise pyhsm.exception.YHSM_Error(('Incorrect number of bytes in buffer (got %i, expected %i)' % (self.num_bytes, count)))
    return count

dataset/ETHPy150Open Yubico/python-pyhsm/pyhsm/buffer_cmd.py YHSM_Cmd_Buffer_Random_Load.parse_result/VarMisuse@39/75 `self`->`count`