def readArray(self, address, basetype, count): bytes = self.readBytes(address, sizeof(basetype) * count) bytes = c_char_p(bytes) return bytes2array(bytes, basetype, count)