System::Runtime::InteropServices::Marshal::WriteInt16 方法

Marshal::WriteInt16 method

向内存写入短整数。

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

另见