System::Runtime::InteropServices::Marshal::WriteInt16 method

Marshal::WriteInt16 method

Writes short to memory.

static void System::Runtime::InteropServices::Marshal::WriteInt16(IntPtr ptr, int offset, int16_t value)
ParameterTypeDescription
ptrIntPtrMemory buffer.
offsetintOffset to memory buffer.
valueint16_tto write.

See Also