cborutil

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2019 License: Apache-2.0, MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const Debug = false

Variables

This section is empty.

Functions

func AsIpld

func AsIpld(obj interface{}) (ipld.Node, error)

TODO: this is a bit ugly, and this package is not exactly the best place

func Dump

func Dump(obj interface{}) ([]byte, error)

func Equals

func Equals(a cbg.CBORMarshaler, b cbg.CBORMarshaler) (bool, error)

func ReadCborRPC

func ReadCborRPC(r io.Reader, out interface{}) error

func WriteCborRPC

func WriteCborRPC(w io.Writer, obj interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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