## Marshal::WriteInt16 method


Writes short to memory.

```cpp
static void System::Runtime::InteropServices::Marshal::WriteInt16(IntPtr ptr, int offset, int16_t value)
```


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

## See Also

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