Hi, I think there is a little error here: https://github.com/msgpack/msgpack-javascript/blob/1fc7622d0dce18ff17077f54fab4c8c8be69b470/src/ExtensionCodec.ts#L57 Shouldn't it be `const index = -1 - type;`? Greetings Stefan
Activity
fix index of built-in encoders/decoders (close #241)
gfx commentedon Feb 5, 2025
Yes, it is! Thank you for the bug report.
Fixed in #256