//
pkg.gl
Category
github.com/filecoin-project/go-data-transfer
encoding
package
0.9.0
Repository:
https://github.com/filecoin-project/go-data-transfer.git
Documentation:
pkg.go.dev
Overview
Versions
2
Dependencies
7
Dependents
15
Files
103 SLOC
#
Functions
Encode
Encode encodes an encodable to CBOR, using the best available path for writing to CBOR.
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.