1234567891011121314151617181920212223242526272829moduletypeS=sigtypet(** A subset of {!Encoding.t} that this multibase implementation can support. *)valencode_t:t->string->(string,[`Msgofstring])result(** [encode_t kind s] encodes [s] using base-encoding sheme [kind]. *)valencode:Encoding.t->string->(string,[`Msgofstring|`UnsupportedofEncoding.t])result(** Similiar to {!encode_t} except it may return [`Unsupported kind] *)valdecode:string->(Encoding.t*string,[`Msgofstring|`UnsupportedofEncoding.t])result(** [decode 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.
*)endmoduletypeIntf=sigmoduletypeS=SincludeSend