Encoding

public enum Encoding : String

Encoding

  • Use YAML_UTF8_ENCODING

    Declaration

    Swift

    case utf8
  • Use YAML_UTF16(BE|LE)_ENCODING

    Declaration

    Swift

    case utf16
  • The default encoding, determined at run time based on the String type’s native encoding. This can be overridden by setting YAMS_DEFAULT_ENCODING to either UTF8 or UTF16. This value is case insensitive.

    Declaration

    Swift

    public static var `default`: Encoding