封送处理的布局可能不同于内部布局,因此在使用size of运算符时,我已经描述的类型可能(实际上是非常可能)报告不同的结果。
The marshaled layout could be different from the internal layout, so it's possible (and, in fact, probable) that the types I've described will report different results when using the sizeof operator.
封送结构可转换布局并更改偏移量。
Marshaling the structure can transform the layout and alter the offset.
应用推荐