mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-11 16:52:57 +00:00
This change looks dramatic, but it's just separating out the already-split namespaces into separate top-level folders. In theory, every single one could be built into their own Nuget package. `SabreTools.Serialization` still builds the normal Nuget package that is used by all other projects and includes all namespaces.
26 lines
796 B
C#
26 lines
796 B
C#
namespace SabreTools.Data.Models.CDROM
|
|
{
|
|
/// <summary>
|
|
/// A CD-ROM Mode 2 Form 2 sector
|
|
/// Larger user data at expense of no error correction, just error detection
|
|
/// </summary>
|
|
/// <see href="https://ecma-international.org/wp-content/uploads/ECMA-130_2nd_edition_june_1996.pdf"/>
|
|
public sealed class Mode2Form2 : DataSector
|
|
{
|
|
/// <summary>
|
|
/// Mode 2 subheader, 8 bytes
|
|
/// </summary>
|
|
public byte[] Subheader { get; set; } = new byte[8];
|
|
|
|
/// <summary>
|
|
/// User data, 2324 bytes
|
|
/// </summary>
|
|
public byte[] UserData { get; set; } = new byte[2324];
|
|
|
|
/// <summary>
|
|
/// Error Detection Code, 4 bytes
|
|
/// </summary>
|
|
public byte[] EDC { get; set; } = new byte[4];
|
|
}
|
|
}
|