kubernetes/staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/direct/direct.go

func Marshal(src interface{}

func Unmarshal(src []byte, dst interface{}

func Diagnose(src []byte) (string, error) {}