Use UTF-8 string literals whenever possible.

This commit is contained in:
2023-09-29 18:27:27 +01:00
parent c673fb6e95
commit 750ae890e7
31 changed files with 105 additions and 266 deletions

View File

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