System::Runtime::InteropServices::Marshal::ReadInt16 メソッド

Marshal::ReadInt16 method

メモリからショートを読み取ります。

static int16_t System::Runtime::InteropServices::Marshal::ReadInt16(IntPtr ptr, int offset=0)
パラメーター説明
ptrIntPtrメモリ バッファ。
offsetintメモリ バッファへのオフセット。

ReturnValue

値を読み取ります。

参照