public void Write(OpenTypeFontWriter writer)
 {
     Debug.Assert(Tag.Length == 4);
     Debug.Assert(Offset != 0);
     Debug.Assert(Length != 0);
     writer.WriteTag(Tag);
     writer.WriteUInt(CheckSum);
     writer.WriteInt(Offset);
     writer.WriteUInt((uint)Length);
 }
 /// <summary>
 /// Writes the offset table.
 /// </summary>
 public void Write(OpenTypeFontWriter writer)
 {
     writer.WriteUInt(Version);
     writer.WriteShort(TableCount);
     writer.WriteUShort(SearchRange);
     writer.WriteUShort(EntrySelector);
     writer.WriteUShort(RangeShift);
 }