110,538
社区成员
发帖
与我相关
我的任务
分享
[StructLayout(LayoutKind.Sequential, Size = 2)]
public struct bufferStruct
{
}
struct test
{
public int port;
public bufferStruct buffer;
public int[] fsize;
public string pathname;
}
struct test
{
public int port;
public fixed byte buffer[2];
public int[] fsize;
public string pathname;
}