Add and use Endianness enum

This commit is contained in:
Matt Nadareski
2020-09-03 21:39:16 -07:00
parent c7f0fbbb65
commit ad0e5a7f0f
7 changed files with 81 additions and 16 deletions

View File

@@ -65,7 +65,7 @@ namespace SabreTools.Library.DatItems
/// Byte endianness of the area
/// </summary>
[JsonProperty("endianness", DefaultValueHandling = DefaultValueHandling.Ignore)]
public string Endianness { get; set; } // TODO: (big|little) "little"
public Endianness Endianness { get; set; }
}
/// <summary>