convert

package
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2022 License: Apache-2.0, MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func To32ByteArray

func To32ByteArray(input []byte) [32]byte

To32ByteArray creates a 32-byte array of NUL bytes, and then copies the first 32 bytes from input into that array and returns the array.

func ToCid

func ToCid(object interface{}) (cid.Cid, error)

ToCid gets the Cid for the argument passed in

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL