-
Notifications
You must be signed in to change notification settings - Fork 45
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
Node: Blob output binding should support passing a Buffer #232
Comments
@mikhailshilkov Have you tried using context.bindings.copy = Buffer.from('Hello'); |
@eirikb I think I did but I can't remember for sure. Are you saying it works? |
Works for me when I did some tests. Using |
@eirikb That's weird! Thank you, I'll give it a try. |
Fixing this with Functions V3. Thanks! |
What problem would the feature you're requesting solve? Please describe.
I'm running a Node.js Azure Function with an output Blob binding. I'm trying to save a binary file from a
Buffer
.My binding:
Note that I tried
dataType=binary
but it doesn't seem to make any difference.and in the function body:
The blob contents is written as
Describe the solution you'd like
It should save the data from the
Buffer
as-is.Hello
in this case.Related Issues
The text was updated successfully, but these errors were encountered: