// Copyright (c) Six Labors. // Licensed under the Six Labors Split License. namespace SixLabors.Fonts.Tables.Cff { /// /// Represents the position and length of an element within a CFF INDEX structure. /// internal readonly struct CffIndexOffset { /// /// The starting offset of the element within the INDEX data. /// public readonly int Start; /// /// The length in bytes of the element. /// public readonly int Length; /// /// Initializes a new instance of the struct. /// /// The starting offset of the element. /// The length in bytes of the element. public CffIndexOffset(int start, int len) { this.Start = start; this.Length = len; } #if DEBUG /// public override string ToString() => "Start:" + this.Start + ",Length:" + this.Length; #endif } }