mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-05 22:01:33 +00:00
* ZArchive support * Fix offset record format * Simplfiy Extensions * Delete unused writers and test data * Rework reader * Fix build
20 lines
583 B
C#
20 lines
583 B
C#
namespace SabreTools.Data.Models.ZArchive
|
|
{
|
|
/// <summary>
|
|
/// Location and size properties of compressed blocks of the file data
|
|
/// </summary>
|
|
/// <see href="https://github.com/Exzap/ZArchive/"/>
|
|
public class OffsetRecord
|
|
{
|
|
/// <summary>
|
|
/// Base offset of compressed blocks
|
|
/// </summary>
|
|
public ulong Offset { get; set; }
|
|
|
|
/// <summary>
|
|
/// Sizes of each compressed block in this record
|
|
/// </summary>
|
|
public ushort[] Size { get; set; } = new ushort[Constants.BlocksPerOffsetRecord];
|
|
}
|
|
}
|