encoding/cbor: add general docs and example

This commit is contained in:
Laytan Laats
2024-03-04 17:26:19 +01:00
parent 317931a3c5
commit c1cf6c1a95
5 changed files with 149 additions and 11 deletions
-5
View File
@@ -1,14 +1,9 @@
// Package cbor encodes, decodes, marshals and unmarshals types from/into RCF 8949 compatible CBOR binary.
// Also provided are conversion to and from JSON and the CBOR diagnostic format.
//
// You can additionally provide custom CBOR tag implementations for your use cases.
package cbor
import "core:encoding/json"
import "core:intrinsics"
import "core:io"
import "core:mem"
import "core:runtime"
import "core:strconv"
import "core:strings"