System::Runtime::InteropServices::Marshal::ReadInt32 method

Marshal::ReadInt32 method

Reads int from memory.

static int32_t System::Runtime::InteropServices::Marshal::ReadInt32(IntPtr ptr, int offset=0)
ParameterTypeDescription
ptrIntPtrMemory buffer.
offsetintOffset to memory buffer.

ReturnValue

Read value.

See Also