Base64Digit
public struct Base64Digit : Hashable
extension Base64Digit: RawRepresentable
extension Base64Digit: Comparable
extension Base64Digit: LosslessStringConvertible
A digit in base 64.
The textual description of a Base64Digit is a single printable ASCII character, determined
with the following table:
┌────────────────────────────────────────────────────────┐
| 00 ... 09 | \u{0030} ... \u{0039} | decimal digits |
| 10 ... 35 | \u{0061} ... \u{007a} | lower case letters |
| 36 ... 61 | \u{0041} ... \u{005a} | upper case letters |
| 62 | \u{002e} | period |
| 63 | \u{005f} | underscore |
└────────────────────────────────────────────────────────┘
This character set is suitable for use in LLVM assembly identifiers.
-
The value of the digit, in the range
0 ..< 64.Declaration
Swift
public let rawValue: UInt8 -
Creates an instance from its raw value
nor returnsnilifn >= 64.Declaration
Swift
public init?<T>(_ n: T) where T : BinaryInteger -
Creates an instance from its raw value
nor returnsnilifn >= 64.Declaration
Swift
public init?(rawValue n: UInt8) -
Returns
trueifflis less thanr.Declaration
Swift
public static func < (l: `Self`, r: `Self`) -> Bool -
Creates an instance from its textual representation.
Declaration
Swift
public init?(_ description: String) -
Creates an instance from its textual representation.
Declaration
Swift
public init?(_ description: Character) -
Creates an instance from its Unicode scalar representation.
Declaration
Swift
public init?(scalar: Unicode.Scalar) -
Creates an instance from its ASCII representation.
Declaration
Swift
public init?(ascii: UInt8) -
Declaration
Swift
public var description: String { get }
View on GitHub