Added support for ziso extensions to ISO9660.

This commit is contained in:
2017-10-09 12:21:38 +01:00
parent a02ef2c4d6
commit d6efae3143
3 changed files with 35 additions and 1 deletions

View File

@@ -609,6 +609,29 @@ namespace DiscImageChef.Filesystems.ISO9660
public byte table_depth;
}
[StructLayout(LayoutKind.Sequential, Pack = 1)]
struct ZisofsHeader
{
public ulong magic;
public uint uncomp_len;
public uint uncomp_len_be;
public byte header_size; // Shifted >> 2
public byte block_size_log; // log2(block_size)
}
[StructLayout(LayoutKind.Sequential, Pack = 1)]
struct ZisofsEntry
{
public ushort signature;
public byte length;
public byte version;
public ushort alogirhtm;
public byte header_size; // Shifted >> 2
public byte block_size_log; // log2(block_size)
public uint uncomp_len;
public uint uncomp_len_be;
}
struct DecodedVolumeDescriptor
{
public string SystemIdentifier;