System::Runtime::InteropServices::Marshal::ReadInt16 método

Marshal::ReadInt16 method

Lee un short de la memoria.

static int16_t System::Runtime::InteropServices::Marshal::ReadInt16(IntPtr ptr, int offset=0)
ParámetroTipoDescripción
ptrIntPtrBuffer de memoria.
desplazamientointDesplazamiento al buffer de memoria.

ReturnValue

Leer valor.

Ver también