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