Base58

public struct Base58 : Codable, Hashable

Data represented as a Base58-encoded string.

  • The underlying data the Base58 structure represents.

    Declaration

    Swift

    public var data: Data { get }
  • The underlying data the Base58 structure represents, in blocks of 8 bits.

    Declaration

    Swift

    public var dataBytes: [Byte]
  • Undocumented

    Declaration

    Swift

    public init(_ dataBytes: [Byte])
  • Build a chunk of data from its string representation. If this string representation does not conform to Base 58, the initializer will fail.

    Declaration

    Swift

    public init?(string: String)
  • The base58 string representation of the data.

    Declaration

    Swift

    public var stringValue: String { get }
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws
  • Declaration

    Swift

    public init(from decoder: Decoder) throws
  • Declaration

    Swift

    public func hash(into hasher: inout Hasher)