Categorygithub.com/brianolson/cbor_go
modulepackage
1.0.0
Repository: https://github.com/brianolson/cbor_go.git
Documentation: pkg.go.dev

# README

Concise Binary Object Representation (CBOR) is a superset of JSON's schema that's faster and more compact.

import cbor "github.com/brianolson/cbor_go"

This implementation attempts to do serialization to/from struct types using reflection, but doesn't do 100% of cases like that right. It should do everything fine serializing map[string]interface{} and []interface{} and other basic types. It passes the test of decoding 100% of CBOR common appendix test strings.


For Python implementation see: https://github.com/brianolson/cbor_py

# Functions

Write out an object to a new byte slice.
Write out an object to an io.Writer.
Load one object into v.
No description provided by the author
Return new Encoder object for writing to supplied io.Writer.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
copied from encoding/json/decode.go An InvalidUnmarshalError describes an invalid argument passed to Unmarshal.

# Interfaces

No description provided by the author