mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-22 22:29:42 +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.
35 lines
1.2 KiB
C#
35 lines
1.2 KiB
C#
namespace SabreTools.Data.Models.PIC
|
|
{
|
|
/// <summary>
|
|
/// Disc Information and Emergency Brake data shall be read from the PIC zone. DI units that
|
|
/// contain physical information shall be returned.Emergency Brake data shall be returned.The
|
|
/// information shall be collected from the layer specified in the Layer field of the CDB. If any data
|
|
/// can be returned, 4 100 bytes shall be returned.
|
|
/// </summary>
|
|
/// <see href="https://www.t10.org/ftp/t10/document.05/05-206r0.pdf"/>
|
|
/// <see href="https://github.com/aaru-dps/Aaru.Decoders/blob/devel/Bluray/DI.cs"/>
|
|
public class DiscInformation
|
|
{
|
|
/// <summary>
|
|
/// 2048 bytes for BD-ROM, 3584 bytes for BD-R/RE
|
|
/// </summary>
|
|
/// <remarks>Big-endian format</remarks>
|
|
public ushort DataStructureLength { get; set; }
|
|
|
|
/// <summary>
|
|
/// Should be 0x00
|
|
/// </summary>
|
|
public byte Reserved0 { get; set; }
|
|
|
|
/// <summary>
|
|
/// Should be 0x00
|
|
/// </summary>
|
|
public byte Reserved1 { get; set; }
|
|
|
|
/// <summary>
|
|
/// Disc information and emergency brake units
|
|
/// </summary>
|
|
public DiscInformationUnit[] Units { get; set; } = [];
|
|
}
|
|
}
|