namespace SabreTools.Data.Models.PlayJ { /// /// Embedded data file (V2 only?) /// public sealed class DataFile { /// /// Length of the data file name /// public ushort FileNameLength { get; set; } /// /// Data file name /// public string FileName { get; set; } = string.Empty; /// /// Length of the data /// public uint DataLength { get; set; } /// /// Data /// public byte[] Data { get; set; } = []; // Notes about Data: // - Each data block in the samples contains a GIF header // - Each GIF header contains an application extension: http://www.vurdalakov.net/misc/gif/application-extension // - Each GIF doesn't always stretch to the end of the data // - Remaining data seems to be padded as 0x00 (typically 8 bytes) // - GIF data is fully formed and may be copied to a standalone file } }