public void Marshal(NdrBuffer buffer) { buffer.WriteDeferredConformantVaryingArray(Id.AsMemory()); buffer.WriteInt16LittleEndian((short)Type); buffer.WriteInt32LittleEndian(Count); buffer.WriteDeferredStructUnion(this); }