diff --git a/SabreTools.Models/TAR/Archive.cs b/SabreTools.Models/TAR/Archive.cs
index 47a425e..c167179 100644
--- a/SabreTools.Models/TAR/Archive.cs
+++ b/SabreTools.Models/TAR/Archive.cs
@@ -7,6 +7,6 @@ namespace SabreTools.Models.TAR
///
/// 1 or more entries
///
- public List? Entries { get; set; }
+ public Entry[]? Entries { get; set; }
}
}
\ No newline at end of file
diff --git a/SabreTools.Models/TAR/Block.cs b/SabreTools.Models/TAR/Block.cs
index c3a3481..0c98ec5 100644
--- a/SabreTools.Models/TAR/Block.cs
+++ b/SabreTools.Models/TAR/Block.cs
@@ -2,6 +2,6 @@ namespace SabreTools.Models.TAR
{
public sealed class Block
{
- public readonly byte[] Data = new byte[512];
+ public byte[]? Data = new byte[512];
}
}
\ No newline at end of file
diff --git a/SabreTools.Models/TAR/Header.cs b/SabreTools.Models/TAR/Header.cs
index b4edfe8..6bc18d5 100644
--- a/SabreTools.Models/TAR/Header.cs
+++ b/SabreTools.Models/TAR/Header.cs
@@ -17,42 +17,42 @@ namespace SabreTools.Models.TAR
///
/// Octal string representation
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 8)]
- public byte[]? Mode;
+ public string? Mode;
///
/// Owner's numeric user ID
///
/// Octal string representation
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 8)]
- public byte[]? UID;
+ public string? UID;
///
/// Owner's numeric group ID
///
/// Octal string representation
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 8)]
- public byte[]? GID;
+ public string? GID;
///
/// File size in bytes
///
/// Octal string representation
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 12)]
- public byte[]? Size;
+ public string? Size;
///
/// Last modification time in numeric Unix time format
///
/// Octal string representation
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 12)]
- public byte[]? ModifiedTime;
+ public string? ModifiedTime;
///
/// Checksum for header record
///
/// Octal string representation
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 8)]
- public byte[]? Checksum;
+ public string? Checksum;
///
/// Link indicator (file type) / Type flag