[quickjs-devel] Re: CBOR implementation

  • From: Andrew Chambers <andrewrchambers@xxxxxxxxx>
  • To: quickjs-devel@xxxxxxxxxxxxx
  • Date: Sat, 5 Feb 2022 12:27:34 +0000

If I were to do it I'd use tinycbor or a similar library and take some
inspiration from the JSON parse/stringify implementation in QuickJs to
write encode and decode.

On Sat, 5 Feb 2022, 11:14 Charlie Gordon, <quickjs@xxxxxxxxxxx> wrote:

This is a good idea. Do you mean to write a native implementation in C for
use in QuickJS ?

Chqrlie

On 5 Feb 2022, at 09:45, Andrew Chambers <andrewrchambers@xxxxxxxxx>
wrote:

Before I write my own, is anyone aware of any CBOR encode/decode
implementation using QuickJs? I've had a good search on GitHub but not come
up with anything.

Many thanks,
Andrew



Other related posts: