//
pkg.gl
Category
github.com/filecoin-project/go-data-transfer
encoding
package
1.15.4-boost
Repository:
https://github.com/filecoin-project/go-data-transfer.git
Documentation:
pkg.go.dev
Overview
Versions
2
Dependencies
10
Dependents
15
Files
148 SLOC
#
Functions
Encode
Encode encodes an encodable to CBOR, using the best available path for writing to CBOR.
EncodeToNode
No description provided by the author
NewDecoder
NewDecoder creates a new Decoder that will decode into new instances of the given object type.
#
Interfaces
Decoder
Decoder is CBOR decoder for a given encodable type.
Encodable
Encodable is an object that can be written to CBOR and decoded back.