package multihash
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Module Multihash.MakeSource
Parameters
module H : sig ... endSignature
The type for multihashes
v hash length digest constructs a new multihash. No checks are made at all on the user-supplied information.
Source
val of_cstruct :
Multicodec.multihash ->
Cstruct.t ->
(Cstruct.t t, [ `Unsupported | `Msg of string ]) resultof_cstruct hash s constructs a multihash for s using hashing strategy hash.
Source
val of_string :
Multicodec.multihash ->
string ->
(string t, [ `Unsupported | `Msg of string ]) resultSame as of_cstruct only using string.
Source
val iter_cstruct :
Multicodec.multihash ->
((Cstruct.t -> unit) -> unit) ->
(Cstruct.t t, [ `Unsupported | `Msg of string ]) resultLike of_cstruct but we digest the value using the iterator function.
Source
val iter_string :
Multicodec.multihash ->
((string -> unit) -> unit) ->
(string t, [ `Unsupported | `Msg of string ]) resultLike of_string but we digest the value using the iterator function.
Whether this particular multihash library supported a given hash implementation.
get_hash v returns the hashing stategy used for this particular multihash.
read buf tries to read a multihash from the buffer buf.
Like read_buff but for strings.
pp ppf v pretty prints a multihash in human-readable format.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page