namespace BinaryObjectScanner.Models.TAR
{
public sealed class Header
{
///
/// File name
///
public string FileName;
///
/// File mode
///
public Mode Mode;
///
/// Owner's numeric user ID
///
public uint UID;
///
/// Owner's numeric user ID
///
public uint GID;
///
/// File size in bytes
///
public ulong Size;
///
/// Last modification time in numeric Unix time format
///
public ulong ModifiedTime;
///
/// Checksum for header record
///
public ushort Checksum;
///
/// Link indicator (file type) / Type flag
///
public TypeFlag TypeFlag;
///
/// Name of linked file
///
public string LinkName;
///
/// UStar indicator, "ustar", then NUL
///
public string Magic;
///
/// UStar version, "00"
///
public string Version;
///
/// Owner user name
///
public string UserName;
///
/// Owner group name
///
public string GroupName;
///
/// Device major number
///
public string DevMajor;
///
/// Device minor number
///
public string DevMinor;
///
/// Filename prefix
///
public string Prefix;
}
}