decode(_:to:)
Decodes some String
-like type containing an ASCII-encoded base-64 string to some RangeReplaceableCollection
type. Padding is not required.
static func decode<Bytes>(_ ascii: some StringProtocol, to _: Bytes.Type = Bytes.self) -> Bytes where Bytes : RangeReplaceableCollection, Bytes.Element == UInt8
Characters (including UTF-8 continuation bytes) that are not base-64 digits will be skipped. Decoding will stop upon encountering the first padding character, even if there are more bytes remaining in the input.