## Marshal::ReadInt32 method


Reads int from memory.

```cpp
static int32_t System::Runtime::InteropServices::Marshal::ReadInt32(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++](../../../)
