DownloadBinary function
See original GitHub issueHi ,
I tried DownloadBinary function.
However, when we convert byte to base64, Picture is not displayed properly.
byte[] imageData = TwitterAccessor.DownloadBinary("Image URL");
string base64String = Convert.ToBase64String(imageData);
Image1.ImageUrl = "data:image/jpg;base64," + base64String;
Please advise. It seems there is some problem in byte array.
Issue Analytics
- State:
- Created 6 years ago
- Comments:15 (10 by maintainers)
Top Results From Across the Web
getBinaryURL: Download binary content in RCurl - rdrr.io
This function allows one to download binary content. This is a convenience function that is a call to getURL with suitable values for...
Read more >Download Binary Files with Javascript
I want to download binary files using Javascript. I have a REST service that returns the binary data and i want to know...
Read more >R: Download binary content
This function allows one to download binary content. This is a convenience function that is a call to getURL with suitable values for...
Read more >How to download binary from EDR UI
Go to Binary Analysis page in the EDR UI. Click on download icon under General Info section. This will download the binary in...
Read more >How can I download binary file from python function
How can I download binary file from python function · 1. Binary fields is created and some data is attached (pdf) · 2....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Never reached the office from the looks of it 😉
Here you go!!
Code :