## Marshal::ReadByte method


从内存读取字节。

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| ptr | IntPtr | 内存缓冲区。 |
| offset | int | 内存缓冲区的偏移。 |

### ReturnValue

读取值。

## 另见

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