Something went wrong. Try again.
DRISL CBOR implementation in Go.
dasl cbor drisl
Something went wrong. Try again.
Go 100%
README.md
Go-CBOR #
DRISL CBOR implementation in Go.
Usage #
go get -u anhgelus.world/go-cbor
Defining a struct that can be marshaled into CBOR:
type Foo struct {
Bar string `cbor:"bar"`
}
Marshal a struct:
b, err := cbor.Marshal(Foo{Bar: "hello world"})
Unmarshal a struct:
var foo Foo
err = cbor.Unmarshal(b, &foo)