Beispiel #1
0
 public static float[] ReadMatrix <T>(int Adress, int MatrixSize) where T : struct
 {
     byte[] numArray = new byte[Marshal.SizeOf(typeof(T)) * MatrixSize];
     Mem.ReadProcessMemory((int)Mem.m_pProcessHandle, Adress, numArray, numArray.Length, ref Mem.m_iNumberOfBytesRead);
     return(Mem.ConvertToFloatArray(numArray));
 }