Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upWhy when i try to get Buffer of downloaded file (client.torrents[0].files[0].getBuffer();i get error (TypeError: can't convert undefined to object)? #1247
Labels
Comments
This comment has been minimized.
This comment has been minimized.
|
I use this code for testing and too get this error:
|
This comment has been minimized.
This comment has been minimized.
|
Could you please post a full stack trace? |
This comment has been minimized.
This comment has been minimized.
@DiegoRBaquero, how to do it? |
This comment has been minimized.
This comment has been minimized.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What version of WebTorrent?
Last
What browser and version? (if using WebTorrent in the browser)
Last version of Firefox, also Firefox ESR 48.
What did you expect to happen?
Get file data by buffer of bytes.
What actually happened?
i get error (TypeError: can't convert undefined to object).