General code cleanup and style refactor.

This commit is contained in:
2022-11-15 15:58:43 +00:00
parent f59ecffb59
commit 2f9b7fe0a1
1324 changed files with 36815 additions and 37688 deletions

View File

@@ -30,12 +30,12 @@
// Copyright © 2011-2022 Natalia Portillo
// ****************************************************************************/
namespace Aaru.DiscImages;
using System.IO;
using Aaru.CommonTypes.Interfaces;
using Aaru.Helpers;
namespace Aaru.DiscImages;
public sealed partial class Qed
{
/// <inheritdoc />
@@ -47,7 +47,7 @@ public sealed partial class Qed
if(stream.Length < 512)
return false;
var qHdrB = new byte[68];
byte[] qHdrB = new byte[68];
stream.EnsureRead(qHdrB, 0, 68);
_qHdr = Marshal.SpanToStructureLittleEndian<QedHeader>(qHdrB);