General cleanup and refactor.

This commit is contained in:
2022-03-07 07:36:44 +00:00
parent bc6e432565
commit 762e3eb6d2
1321 changed files with 44657 additions and 45479 deletions

View File

@@ -30,14 +30,14 @@
// Copyright © 2011-2022 Natalia Portillo
// ****************************************************************************/
namespace Aaru.DiscImages;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using Aaru.CommonTypes.Interfaces;
using Aaru.Helpers;
namespace Aaru.DiscImages;
public sealed partial class Imd
{
/// <inheritdoc />
@@ -49,7 +49,7 @@ public sealed partial class Imd
if(stream.Length < 4)
return false;
byte[] hdr = new byte[stream.Length < 256 ? stream.Length : 256];
var hdr = new byte[stream.Length < 256 ? stream.Length : 256];
stream.Read(hdr, 0, hdr.Length);
string hdrStr = StringHandlers.CToString(hdr, Encoding.ASCII);