Extensions
The following extensions are available globally.
-
Extension providing base32 encoding and decoding for Data.
Supports both standard base32 (RFC 4648) and base32hex variants. Used extensively in Stellar’s StrKey encoding for account addresses and keys.
See moreDeclaration
-
Extension providing base32 encoding and decoding for String.
Supports both standard base32 (RFC 4648) and base32hex variants.
See moreDeclaration
-
Extension providing ISO 8601 date formatting for DateFormatter.
See moreDeclaration
Swift
extension DateFormatter -
Extension providing a full ISO 8601 date formatter with fractional seconds.
See moreDeclaration
Swift
extension ISO8601DateFormatter -
Declaration
Swift
extension Date -
Declaration
Swift
extension UInt8: XDRCodable -
Declaration
Swift
extension UInt32: XDRCodable -
Extension making Array conform to XDRCodable when elements are XDRCodable.
Arrays in XDR are encoded with a 32-bit count prefix followed by the elements.
See moreDeclaration
Swift
extension Array: XDRCodable where Element: XDRCodable -
Extension making FixedWidthInteger types XDR-encodable.
Integers in XDR are encoded in big-endian byte order.
See moreDeclaration
Swift
extension FixedWidthInteger where Self: XDREncodableextension FixedWidthInteger where Self: XDRDecodable -
Extension making Optional types XDR-encodable.
Optionals in XDR are encoded as a 32-bit boolean flag (0 or 1) followed by the value if present.
See moreDeclaration
Swift
extension Optional: XDREncodable where Wrapped: XDRCodable -
Declaration
Swift
extension Int32: XDRCodable -
Declaration
Swift
extension Int64: XDRCodable -
Declaration
Swift
extension UInt64: XDRCodable -
Declaration
Swift
extension Bool: XDRCodable
View on GitHub
Install in Dash
Extensions Reference