Use (uint) casts in the Marshal.Read/WriteXXX () methods to speed up the alignment...
authorZoltan Varga <vargaz@gmail.com>
Sun, 24 Mar 2013 02:33:24 +0000 (03:33 +0100)
committerZoltan Varga <vargaz@gmail.com>
Sun, 24 Mar 2013 02:33:24 +0000 (03:33 +0100)
commitadc5d247ef609b4ce3f1bdaa665df60359cae613
treee6d5b332b149d2dd069ca1319e1a873b6b20a847
parent6dbaf9b6719ed31c915e9d61303fdaf527cc4af2
Use (uint) casts in the Marshal.Read/WriteXXX () methods to speed up the alignment checks.
mcs/class/corlib/System.Runtime.InteropServices/Marshal.cs