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

Add the ability to save and receive files as Blob or File W3C in WasmJs #173

Open
apolostudio opened this issue Dec 19, 2024 · 1 comment
Labels
next Scheduled for the next version

Comments

@apolostudio
Copy link

apolostudio commented Dec 19, 2024

Basically that, right now only bytearray is supported and if i want to transform blob into bytearray i have to add a lot of boilerplate code. Also i could be made via PlatformFile and add a function to convert blob, bytearray, File W3C to PlatfromFile. Then i should only have to pass the platfrom file to save() function. Note that File W3C inherits blob class

@vinceglb
Copy link
Owner

Hi @apolostudio! Thanks for creating this issue!

It's a really good idea to support File, Blob and ByteArray for web targets!

I'll try to support them in the next version of FileKit!

@vinceglb vinceglb added the next Scheduled for the next version label Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
next Scheduled for the next version
Projects
None yet
Development

No branches or pull requests

2 participants