Enumerationvapor 4.114.1Vapor
Base32
Base32.swift:44enum Base32
enum Base32
import Vapor
Vapor is a framework for building server applications, APIs and websites in Swift. It provides a safe, performant and scalable foundation for building large complex backends.
static let canonical: BaseNEncoding
Corresponds to canonical Base32, per RFC 4648 § 6. No non-alphabet characters are permitted, padding is required, and the alphabet is uppercase.
static let `default`: BaseNEncoding
Alias for canonical
.
static let lowercasedCanonical: BaseNEncoding
Identical to canonical
, except the alphabet is lowercase.
static let relaxed: BaseNEncoding
Corresponds to Base32 as implemented by the C code that was previously used for this functionality. Certain commonly mistyped characters are treated as their visual equivalents, whitespace and hyphens are ignored, and decoding is case-insensitive.