ReadInt16()

Marshal::ReadInt16(IntPtr, int) method

Reads short from memory.

static int16_t System::Runtime::InteropServices::Marshal::ReadInt16(IntPtr ptr, int offset=0)

Arguments

ParameterTypeDescription
ptrIntPtrMemory buffer.
offsetintOffset to memory buffer.

Return Value

Read value.

See Also