Closed huangyiyang89 closed 7 months ago
def read_string(handle, address, byte=50,encoding='utf-8'): buff = pymem.Pymem.read_bytes(handle, address, byte) i = buff.find(b'\x00') if i != -1: buff = buff[:i] buff = buff.decode(encoding) return buff
def read_string(handle, address, byte=50,encoding='utf-8'): buff = pymem.Pymem.read_bytes(handle, address, byte) i = buff.find(b'\x00') if i != -1: buff = buff[:i] buff = buff.decode(encoding) return buff