Files
Aaru/Aaru.Images/A2R/Constants.cs

74 lines
2.2 KiB
C#
Raw Normal View History

2023-07-06 00:04:46 +02:00
// /***************************************************************************
// Aaru Data Preservation Suite
// ----------------------------------------------------------------------------
//
// Filename : Constants.cs
// Author(s) : Rebecca Wallander <sakcheen@gmail.com>
//
// Component : Disk image plugins.
//
// --[ Description ] ----------------------------------------------------------
//
// Contains constants for A2R flux images.
//
// --[ License ] --------------------------------------------------------------
//
// This library is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as
// published by the Free Software Foundation; either version 2.1 of the
// License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, see <http://www.gnu.org/licenses/>.
//
// ----------------------------------------------------------------------------
2024-12-19 10:45:18 +00:00
// Copyright © 2011-2025 Rebecca Wallander
2023-07-06 00:04:46 +02:00
// ****************************************************************************/
2023-10-05 01:05:23 +01:00
using System.Diagnostics.CodeAnalysis;
namespace Aaru.Images;
2023-07-06 00:04:46 +02:00
2023-10-05 01:05:23 +01:00
[SuppressMessage("ReSharper", "UnusedType.Global")]
2023-07-06 00:04:46 +02:00
public sealed partial class A2R
{
2023-10-05 02:31:59 +01:00
readonly byte[] _a2Rv2Signature =
2024-05-01 04:39:38 +01:00
[
2023-07-06 00:04:46 +02:00
0x41, 0x32, 0x52, 0x32 // A2R2
2024-05-01 04:39:38 +01:00
];
2023-07-06 00:04:46 +02:00
2023-10-05 02:31:59 +01:00
readonly byte[] _a2Rv3Signature =
2024-05-01 04:39:38 +01:00
[
2023-07-06 00:04:46 +02:00
0x41, 0x32, 0x52, 0x33 // A2R3
2024-05-01 04:39:38 +01:00
];
2023-07-06 00:04:46 +02:00
readonly byte[] _infoChunkSignature =
2024-05-01 04:39:38 +01:00
[
2023-07-06 00:04:46 +02:00
0x49, 0x4E, 0x46, 0x4F // INFO
2024-05-01 04:39:38 +01:00
];
2023-07-06 00:04:46 +02:00
2023-10-03 23:34:59 +01:00
readonly byte[] _metaChunkSignature =
2024-05-01 04:39:38 +01:00
[
2023-10-03 23:34:59 +01:00
0x4D, 0x45, 0x54, 0x41 // META
2024-05-01 04:39:38 +01:00
];
2023-10-03 23:34:59 +01:00
2023-07-06 00:04:46 +02:00
readonly byte[] _rwcpChunkSignature =
2024-05-01 04:39:38 +01:00
[
2023-07-06 00:04:46 +02:00
0x52, 0x57, 0x43, 0x50 // RWCP
2024-05-01 04:39:38 +01:00
];
2023-07-06 00:04:46 +02:00
readonly byte[] _slvdChunkSignature =
2024-05-01 04:39:38 +01:00
[
2023-07-06 00:04:46 +02:00
0x53, 0x4C, 0x56, 0x44 // SLVD
2024-05-01 04:39:38 +01:00
];
2023-07-06 00:04:46 +02:00
readonly byte[] _strmChunkSignature =
2024-05-01 04:39:38 +01:00
[
2023-07-06 00:04:46 +02:00
0x53, 0x54, 0x52, 0x4D // STRM
2024-05-01 04:39:38 +01:00
];
2023-07-06 00:04:46 +02:00
}