Code restyling.

This commit is contained in:
2020-02-29 18:03:35 +00:00
parent 4ea327f0c6
commit f7e173710e
855 changed files with 43605 additions and 38045 deletions

View File

@@ -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;
}
}