在C#中,我可以使用关键字指定固定大小的缓冲区fixed,如下所示:
public unsafe struct StructWithFixedBuffer
{
public fixed char FixedBuffer[128];
}
Run Code Online (Sandbox Code Playgroud)
我将如何在C++/CLI中表达同样的事情?
| 归档时间: |
|
| 查看次数: |
3416 次 |
| 最近记录: |