mirror of
https://github.com/SabreTools/SabreTools.IO.git
synced 2026-02-12 05:35:26 +00:00
20 lines
397 B
C#
20 lines
397 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace SabreTools.IO.Test.Extensions
|
|
{
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
internal struct TestStructSequential
|
|
{
|
|
public int FirstValue;
|
|
|
|
public int SecondValue;
|
|
|
|
public ushort ThirdValue;
|
|
|
|
public short FourthValue;
|
|
|
|
[MarshalAs(UnmanagedType.LPStr)]
|
|
public string? FifthValue;
|
|
}
|
|
}
|