Skip to content

Type 'Base58' has no member 'encode' #20

Description

@utdrmac

Attempted to use example code from README

        let bytes: [UInt8] = [255, 254, 253, 252]

        let encodedString = Base58.encode(bytes)
        let decodedBytes = Base58.decode(encodedString)!

        print(encodedString) // 7YXVWT
        print(decodedBytes)  // [255, 254, 253, 252]

Fails to compile with noted error

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions