Results 349 comments of Maik Riechert

Ok, I understand your concerns and I agree it may make more sense to have a modular approach, especially since this is a JS implementation and the final code size...

Splitting: If your web application only needs to decode, then why should it include the encoder as well? With separate packages you could only require what you need. As for...

> Splitting: IMHO the overhead of downloading 2 or 3 files compared to > one when you need encoder and decoder is more relevant than the file > size (4KB...

Cool, so we came to a common agreement :) I will start creating a decoder package for the typed arrays soon.

I started writing a typedarray decoder, based on the decoder object format we discussed: https://github.com/neothemachine/cborjs-typedarrays-decoder It's not done yet and needs testing. When do you think you can integrate the...

I think I have a working implementation for the decoder now. I found it strange to work directly with a function that has a tags property attached to it. It...

Cool. Looks good, just one thing missing. Remember we talked about default registries and optionally supplying a custom registry to encode() decode()? I think it is easy to extend your...

Ok, let's leave it as it is. It's not a problem, probably just me not liking global stuff again :p

No I think the two functions are fine. I think in most cases you don't need both encoding and decoding anyway, and if someone needs it it's not a big...

Ping. How are you getting on here? Do you need some help?