Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: "list" argument must be an Array of Buffers while reading a tag #75

Open
zzakir opened this issue Apr 1, 2019 · 0 comments

Comments

@zzakir
Copy link

zzakir commented Apr 1, 2019

Hi,

I am not able to read a tag. It throws the following error:

TypeError: "list" argument must be an Array of Buffers

File: Reader.js
Line Numer: 521

Solution:

let bufferValues = values.map(value => new Buffer(value));
return Buffer.concat(bufferValues, length);

I've created a fork and solved the issue temporarily. If you think that the bug is valid, then please merge the above solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant