byte[] imgByte = new byte[ImageContext.Length - HEADSIZE];
IntPtr imgPtr = Marshal.AllocHGlobal(imgByte.Length);
C#获取Byte[]字节数组的指针
最新推荐文章于 2025-07-16 01:23:40 发布

byte[] imgByte = new byte[ImageContext.Length - HEADSIZE];
IntPtr imgPtr = Marshal.AllocHGlobal(imgByte.Length);