System::Runtime::InteropServices::Marshal::ReadInt32 方法
Marshal::ReadInt32 method
从内存读取整数。
static int32_t System::Runtime::InteropServices::Marshal::ReadInt32(IntPtr ptr, int offset=0)
| 参数 | 类型 | 描述 |
|---|---|---|
| ptr | IntPtr | 内存缓冲区。 |
| offset | int | 内存缓冲区的偏移。 |
ReturnValue
读取值。
另见
- Class Marshal
- Namespace System::Runtime::InteropServices
- Library Aspose.Font for C++