System::Runtime::InteropServices::Marshal::ReadInt16 method

Marshal::ReadInt16 method

Reads short from memory.

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

ReturnValue

Read value.

See Also