shamblett / cbor

A CBOR implementation for Dart
MIT License
36 stars 16 forks source link

Use custom function for Uint8List bytes of a 64bit int for web compatibility #52

Closed levifeldman closed 1 year ago

levifeldman commented 1 year ago

Fixes: Error: Unsupported operation: Uint64 accessor not supported by dart2js.

https://github.com/dart-lang/sdk/issues/10275

Happens when adding a semantic tag on the web.

This fix uses a custom function instead of the setUint64 function.

shamblett commented 1 year ago

Merged, package re published at version 6.1.0