System::Runtime::InteropServices::Marshal::ReadInt32 метод

Marshal::ReadInt32 method

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

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

ReturnValue

Прочитать значение.

См. также