well-typed / cborg

Binary serialisation in the CBOR format
https://hackage.haskell.org/package/cborg
191 stars 86 forks source link

Direct support for embedded CBOR-in-CBOR #286

Open dcoutts opened 2 years ago

dcoutts commented 2 years ago

This is the tag 24 stuff.

This should just be an optimisation. The semantic change is already available as encodePreEncoded :: B.ByteString -> Encoding

This branch was done some time ago. It looks fine as far as it goes.

TODOs it will need: