Documentation ¶
Index ¶
Constants ¶
View Source
const Debug = false
Debug will produce more debugging messages
Variables ¶
This section is empty.
Functions ¶
func AsIpld ¶
AsIpld converts an object to an ipld.Node interface TODO: this is a bit ugly, and this package is not exactly the best place
func Equals ¶
func Equals(a cbg.CBORMarshaler, b cbg.CBORMarshaler) (bool, error)
Equals is true if two objects have the same cbor representation
func ReadCborRPC ¶
ReadCborRPC will read an object from the given io.Reader opting for fast path if possible
func WriteCborRPC ¶
WriteCborRPC with encode an object to cbor, opting for fast path if possible and then write it into the given io.Writer
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.