mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Code restyling.
This commit is contained in:
@@ -36,9 +36,7 @@ namespace Aaru.DiscImages
|
||||
{
|
||||
public partial class Qcow
|
||||
{
|
||||
/// <summary>
|
||||
/// QCOW header, big-endian
|
||||
/// </summary>
|
||||
/// <summary>QCOW header, big-endian</summary>
|
||||
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
||||
struct QCowHeader
|
||||
{
|
||||
@@ -46,45 +44,25 @@ namespace Aaru.DiscImages
|
||||
/// <see cref="Qcow.QCOW_MAGIC" />
|
||||
/// </summary>
|
||||
public uint magic;
|
||||
/// <summary>
|
||||
/// Must be 1
|
||||
/// </summary>
|
||||
/// <summary>Must be 1</summary>
|
||||
public uint version;
|
||||
/// <summary>
|
||||
/// Offset inside file to string containing backing file
|
||||
/// </summary>
|
||||
public ulong backing_file_offset;
|
||||
/// <summary>
|
||||
/// Size of <see cref="backing_file_offset" />
|
||||
/// </summary>
|
||||
public uint backing_file_size;
|
||||
/// <summary>
|
||||
/// Modification time
|
||||
/// </summary>
|
||||
/// <summary>Offset inside file to string containing backing file</summary>
|
||||
public readonly ulong backing_file_offset;
|
||||
/// <summary>Size of <see cref="backing_file_offset" /></summary>
|
||||
public readonly uint backing_file_size;
|
||||
/// <summary>Modification time</summary>
|
||||
public uint mtime;
|
||||
/// <summary>
|
||||
/// Size in bytes
|
||||
/// </summary>
|
||||
/// <summary>Size in bytes</summary>
|
||||
public ulong size;
|
||||
/// <summary>
|
||||
/// Cluster bits
|
||||
/// </summary>
|
||||
/// <summary>Cluster bits</summary>
|
||||
public byte cluster_bits;
|
||||
/// <summary>
|
||||
/// L2 table bits
|
||||
/// </summary>
|
||||
/// <summary>L2 table bits</summary>
|
||||
public byte l2_bits;
|
||||
/// <summary>
|
||||
/// Padding
|
||||
/// </summary>
|
||||
public ushort padding;
|
||||
/// <summary>
|
||||
/// Encryption method
|
||||
/// </summary>
|
||||
public uint crypt_method;
|
||||
/// <summary>
|
||||
/// Offset to L1 table
|
||||
/// </summary>
|
||||
/// <summary>Padding</summary>
|
||||
public readonly ushort padding;
|
||||
/// <summary>Encryption method</summary>
|
||||
public readonly uint crypt_method;
|
||||
/// <summary>Offset to L1 table</summary>
|
||||
public ulong l1_table_offset;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user