oid

package
v2.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Marshal

func Marshal(i interface{}) []byte

func Unmarshal

func Unmarshal(data []byte, any interface{}) error

Types

type Oid

type Oid struct {
	cid.Cid
}

func ToOid

func ToOid(b ...[]byte) *Oid

func (Oid) Bytes

func (o Oid) Bytes() []byte

func (Oid) String

func (o Oid) String() string

Jump to

Keyboard shortcuts

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