## Marshal::ReadInt16 method


Reads short from memory.

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


| Parameter | Type | Description |
| --- | --- | --- |
| ptr | IntPtr | Memory buffer. |
| offset | int | Offset to memory buffer. |

### ReturnValue

Read value.

## See Also

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