Метод System::Runtime::InteropServices::Marshal::ReadInt16

Marshal::ReadInt16 method

Читает short из памяти.

static int16_t System::Runtime::InteropServices::Marshal::ReadInt16(IntPtr ptr, int offset=0)
ПараметрТипОписание
ptrIntPtrБуфер памяти.
смещениеintСмещение к буферу памяти.

ReturnValue

Считать значение.

См. также