Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 422 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 422 Bytes

pycbor

Build Status

pycbor supports all major types of RFC 7049 with the exception of semantic tagging. There are probably some ways in which pycbor isn't strictly compliant, but it mostly works

Usage

>>> pycbor.encode([1, 2, 3])
b'\x83\x01\x02\x03'

>>> pycbor.decode(b'\x83\x01\x02\x03')
[1, 2, 3]