fromUri(uri:)

Create a new Hash from a ni:, cid: or similar URI

static func fromUri(uri: String) -> Hash?

Parameters

uri

The URI

Return Value

Hash or null on error