tuweni / org.apache.tuweni.scuttlebutt / Invite / fromCanonicalForm

fromCanonicalForm

static fun fromCanonicalForm(inviteCode: String!): Invite! (source)

Takes an invite string in its canonical form and parses it into an Invite object, throwing an error if it is not of the expected format.

Parameters

inviteCode - String!: the invite code in its canonical form

Return
Invite!: the invite code