摘要: C#操作内存读写方法是什么呢?让我们来看看具体的实例实现:using System.Runtime.InteropServices; using System.Text; public class Function { //C#操作内存读写方法public static byte PtrToByte( int Ptr ) { byte b = Marshal.ReadByte( ( IntPtr ) Ptr ); return b; } public static char PtrToChar( int Ptr ) { byte b = Marshal.ReadByte( ( IntPtr ) 阅读全文
posted @ 2013-10-21 14:24 greefsong 阅读(1293) 评论(0) 推荐(0) 编辑