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

Marshal::WriteInt32 method

向内存写入整数。

static void System::Runtime::InteropServices::Marshal::WriteInt32(IntPtr ptr, int offset, int32_t value)
ParameterType描述
ptrIntPtr内存缓冲区。
offsetint内存缓冲区的偏移量。
valueint32_t用于写入。

另见