System::Runtime::InteropServices::Marshal::WriteInt32 方法

Marshal::WriteInt32 method

向内存写入整数。

static void System::Runtime::InteropServices::Marshal::WriteInt32(IntPtr ptr, int offset, int32_t value)
参数类型描述
ptrIntPtr内存缓冲区。
offsetint内存缓冲区的偏移。
int32_t写入。

另见