## Marshal::ReadInt16 method


Читает short из памяти.

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


| Параметр | Тип | Описание |
| --- | --- | --- |
| ptr | IntPtr | Буфер памяти. |
| смещение | int | Смещение к буферу памяти. |

### ReturnValue

Прочитать значение.

## См. также

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