question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Getting "Error: Data read, but end of buffer not reached"

See original GitHub issue

Hey, I am getting “Error: Data read, but end of buffer not reached” and I don’t know why. Can you help, please?

Code: const msgpack = require('msgpackr') let unpacked = msgpack.unpack(Buffer.from("4234235rfasdfasdf", 'base64'));

Thanks

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Wyzix33commented, May 16, 2022

You can unpack with msgpack-node and pack the result with msgpackr to get the new test string.

0reactions
ahmads-dycommented, May 16, 2022

Awesome, thank you very much for the declarations 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error Data read, but end of buffer not reached... bug or not
Hello,. I recently updated my project to the last version of Gatsby and plugin from Gatsby 4.5 to 4.6.1.
Read more >
We reached end of buffer Error - Microsoft Power BI Community
Solved: Hello, I have data I was able to load via the Web API and it displayed fine. When I refreshed the report,...
Read more >
Sharp unable to read file buffer - node.js - Stack Overflow
1 Answer 1 · Maybe check the type of your provided input req.files.image.data one more time. Is it really a not corrupted image...
Read more >
get data from dataflow - Power Query | Microsoft Learn
Error: We reached the end of the buffer". Reason: Only analytical dataflows can be used in a Get data operation from a dataflow....
Read more >
Top 10 Most Common Node.js Developer Mistakes - Toptal
The more complex the task, the worse this can get. By nesting callbacks in such a way, we easily end up with error-prone,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found