whyrusleeping / cbor

Other
14 stars 8 forks source link

Add hooks to the encoder to allow encoding tags #4

Closed mildred closed 8 years ago

mildred commented 8 years ago

There is a few things here:

This is necessary to encode IPLD using tags as defined in ipfs/specs#61. The last item is useful to implement the marshaller interface and to generate the expected byte slice in unit tests.

mildred commented 8 years ago

updated to the switch statement

whyrusleeping commented 8 years ago

alright cool, LGTM