mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Use UTF-8 string literals whenever possible.
This commit is contained in:
@@ -38,9 +38,6 @@ namespace Aaru.Filesystems;
|
||||
/// <summary>Implements detection of the AO-DOS filesystem</summary>
|
||||
public sealed partial class AODOS
|
||||
{
|
||||
const string FS_TYPE = "aodos";
|
||||
readonly byte[] _identifier =
|
||||
{
|
||||
0x20, 0x41, 0x4F, 0x2D, 0x44, 0x4F, 0x53, 0x20
|
||||
};
|
||||
const string FS_TYPE = "aodos";
|
||||
readonly byte[] _identifier = " AO-DOS "u8.ToArray();
|
||||
}
|
||||
@@ -36,9 +36,6 @@ namespace Aaru.Filesystems;
|
||||
/// <summary>Implements detection of the filesystem described in ECMA-67</summary>
|
||||
public sealed partial class ECMA67
|
||||
{
|
||||
const string FS_TYPE = "ecma67";
|
||||
readonly byte[] _magic =
|
||||
{
|
||||
0x56, 0x4F, 0x4C
|
||||
};
|
||||
const string FS_TYPE = "ecma67";
|
||||
readonly byte[] _magic = "VOL"u8.ToArray();
|
||||
}
|
||||
@@ -34,14 +34,8 @@ public sealed partial class HPOFS
|
||||
{
|
||||
0x48, 0x50, 0x4F, 0x46, 0x53, 0x00, 0x00, 0x00
|
||||
};
|
||||
readonly byte[] _medinfoSignature =
|
||||
{
|
||||
0x4D, 0x45, 0x44, 0x49, 0x4E, 0x46, 0x4F, 0x20
|
||||
};
|
||||
readonly byte[] _volinfoSignature =
|
||||
{
|
||||
0x56, 0x4F, 0x4C, 0x49, 0x4E, 0x46, 0x4F, 0x20
|
||||
};
|
||||
readonly byte[] _medinfoSignature = "MEDINFO "u8.ToArray();
|
||||
readonly byte[] _volinfoSignature = "VOLINFO "u8.ToArray();
|
||||
|
||||
// Do not translate
|
||||
const string FS_TYPE = "hpofs";
|
||||
|
||||
@@ -39,12 +39,7 @@ namespace Aaru.Filesystems;
|
||||
// ReSharper disable once InconsistentNaming
|
||||
public sealed partial class exFAT
|
||||
{
|
||||
readonly Guid _oemFlashParameterGuid = new("0A0C7E46-3399-4021-90C8-FA6D389C4BA2");
|
||||
|
||||
readonly byte[] _signature =
|
||||
{
|
||||
0x45, 0x58, 0x46, 0x41, 0x54, 0x20, 0x20, 0x20
|
||||
};
|
||||
|
||||
readonly Guid _oemFlashParameterGuid = new("0A0C7E46-3399-4021-90C8-FA6D389C4BA2");
|
||||
readonly byte[] _signature = "EXFAT "u8.ToArray();
|
||||
const string FS_TYPE = "exfat";
|
||||
}
|
||||
Reference in New Issue
Block a user