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

Marshal::WriteInt16 method

向内存写入短整数。

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

另见