## Marshal::ReadInt16 method


Läser short från minnet.

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


| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| ptr | IntPtr | Minnesbuffert. |
| förskjutning | int | Offset till minnesbuffert. |

### ReturnValue

Läs värde.

## Se även

* Class [Marshal](../)
* Namespace [System::Runtime::InteropServices](../../)
* Library [Aspose.PDF for C++](../../../)
