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

and new blob reading methods #2303

Closed
3 tasks done
jimmywarting opened this issue May 7, 2019 · 5 comments
Closed
3 tasks done

and new blob reading methods #2303

jimmywarting opened this issue May 7, 2019 · 5 comments
Labels
feat new feature (which has been agreed to/accepted)

Comments

@jimmywarting
Copy link
Contributor

jimmywarting commented May 7, 2019

  • blob.text() - promise<String>
  • blob.arrayBuffer() - promise<ArrayBuffer>
  • blob.stream() - Dom.ReadableStream
@kitsonk
Copy link
Contributor

kitsonk commented May 7, 2019

Unlikely, largely sugar like that is done in deno_std, not in the Deno core.

@crowlKats
Copy link
Member

crowlKats commented Mar 16, 2020

Unlikely, largely sugar like that is done in deno_std, not in the Deno core.

@kitsonk i oppose this statement, as there is no other way to read content from a blob except the old FileReader API (which isnt implemented either) and the blob methods, but it would be more appropriate to use those methods.

@jimmywarting
Copy link
Contributor Author

i would rather have this method than the FileReader

@crowlKats
Copy link
Member

I completely agree. i am currently looking into implementing those methods

@ry ry added the feat new feature (which has been agreed to/accepted) label Mar 21, 2020
@crowlKats
Copy link
Member

This should be closed as #4581 took care of this

@ry ry closed this as completed Apr 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat new feature (which has been agreed to/accepted)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants