Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Multibase.SSourceA subset of Encoding.t that this multibase implementation can support.
encode_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.