Skip to content
/ cboring Public

Go library for selected subset of CBOR's features

License

Notifications You must be signed in to change notification settings

dtn7/cboring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5799c28 · Apr 5, 2024

History

34 Commits
Apr 5, 2024
Jul 30, 2019
Nov 20, 2020
Apr 5, 2024
Jun 14, 2019
Nov 20, 2020
Apr 5, 2024
Apr 5, 2024
Jul 30, 2019
Apr 5, 2024
Jun 14, 2019
Jul 30, 2019
Nov 20, 2020
Sep 12, 2019
Sep 12, 2019
Jan 4, 2020
Apr 5, 2024

Repository files navigation

cboring CI GoDoc

A simple CBOR Go(lang) library for a selected subset of features, developed to be used in dtn7-go, an implementation of the Bundle Protocol Version 7. The name is based on the fact that cboring is both boring to use and bored about the amount of data to handle.

Features

  • Supports a selected subset of CBOR's features:
    • Unsigned Integer
    • Floating-point values
    • Byte and Text String
    • Arrays, both of definite and indefinite length
    • Maps of definite length
    • Booleans
  • Small and clear codebase:
    • Only works on streams, Go's io.Reader or io.Writer
    • Does not use reflection or make any strange assumptions
  • Surprisingly fast