摘要:
C#操作内存读写方法是什么呢?让我们来看看具体的实例实现:using System.Runtime.InteropServices; using System.Text; publicclass Function { //C#操作内存读写方法publicstaticbyte PtrToByte( int Ptr ) { byte b = Marshal.ReadByte( ( IntPtr ) Ptr ); return b; } publicstaticchar PtrToChar( int Ptr ) { byte b = Marshal.ReadByte( ( IntPtr ) Ptr 阅读全文
posted @ 2013-08-27 14:56
忘记天涯
阅读(1701)
评论(0)
推荐(0)
浙公网安备 33010602011771号