System::Runtime::InteropServices::Marshal::ReadByte 方法

Marshal::ReadByte method

从内存读取字节。

static uint8_t System::Runtime::InteropServices::Marshal::ReadByte(IntPtr ptr, int offset=0)
参数类型描述
ptrIntPtr内存缓冲区。
offsetint内存缓冲区的偏移。

ReturnValue

读取值。

另见