Record

public struct Record

Represents a single record of OpenType name table.

  • The name id of this record.

    Declaration

    Swift

    public let nameID: UInt16
  • The platform id of this record.

    Declaration

    Swift

    public let platformID: UInt16
  • The language id of this record.

    Declaration

    Swift

    public let languageID: UInt16
  • The encoding id of this record.

    Declaration

    Swift

    public let encodingID: UInt16
  • The encoded bytes of this record.

    Declaration

    Swift

    public let bytes: [UInt8]
  • The relevant locale of this record which is determined by interpreting platformId and languageId.

    Declaration

    Swift

    public var locale: Locale? { get }
  • The decoded string of this record, or nil.

    Declaration

    Swift

    public var string: String? { get }