Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
MultihashLength = defaultMultihashLength
)
Functions ¶
func FromMultihash ¶
FromMulithash returns the digest portion of the multihash It will fail if the multihash is not a valid swarm multihash
func GetMultihashLength ¶
GetMultihashLength returns the digest length of the provided multihash It will fail if the multihash is not a valid swarm mulithash
func ToMultihash ¶
ToMulithash wraps the provided digest data with a swarm mulithash header
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.