Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
MultibaseSourcetype t = [ | `Base32| `Base32hex| `Base32hexpad| `Base32hexupper| `Base32hexpadupper| `Base32pad| `Base32upper| `Base58btc| `Base58flickr| `Base64| `Base64pad| `Base64url| `Base64urlpad ]include S with type t := tencode_t kind s encodes s using base-encoding sheme kind.
val encode :
Encoding.t ->
string ->
(string, [ `Msg of string | `Unsupported of Encoding.t ]) resultSimiliar to encode_t except it may return `Unsupported kind
val decode :
string ->
(Encoding.t * string, [ `Msg of string | `Unsupported of Encoding.t ]) resultdecode s will try to decode the multibase string s returning the encoding scheme and the decoded payload. It may be the case that we found a scheme we don't support.