Comments (2)
Are you using the latest version? I've fixed bugs in this space in the last year. With v4.0.0, and the following hex-encoded input:
A363666D74646E6F6E656761747453746D74A068617574684461746159001049960DE5880E8C687434170F6476605B
(edited slightly from your example to set the length of the last field to the data you provided)
I get the following object created:
{ fmt: 'none',
attStmt: {},
authData: <Buffer 49 96 0d e5 88 0e 8c 68 74 34 17 0f 64 76 60 5b> }
from node-cbor.
So sorry, my dependency was pinned to 3.0. You're right, this is fixed in 4.0.
from node-cbor.
Related Issues (20)
- react-native-cli HOT 5
- Webpack minimize causes cbor.encode to generate a different value HOT 5
- Fix Buffer converter matcher being mangled in minimised builds HOT 1
- ReferenceError: Can't find variable: TextDecoder HOT 20
- cbor-diag HOT 5
- Behavior in Nativescript HOT 19
- Encode error when source is too large HOT 4
- switch to using Uint8Array instead of using buffer HOT 3
- Type array tags CBOR HOT 2
- Support `ArrayBufferView` as `BufferLike` HOT 1
- Move to ESM HOT 4
- cbor tagged object not same after decoding and again encoding HOT 8
- cbor-web: Unexpected token on rollup build, is `for(;;)` supposed to be here? HOT 8
- Encoding a "large" 5MB JSON Object HOT 4
- Cbor <> CborWeb issue HOT 1
- empty maps parsed as objects, not maps HOT 4
- diagnose crashes when cose sign1 payload is null HOT 2
- How to turn off taging on Encode for Uint8Arrays? HOT 8
- cbor-web import as shown does not work HOT 1
- BUG: Class extends value undefined is not a constructor or null HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-cbor.