-
-
Notifications
You must be signed in to change notification settings - Fork 35.6k
buffer.write(buffer, 'base64')Β #11866
Copy link
Copy link
Closed
Labels
bufferIssues and PRs related to the buffer subsystem.Issues and PRs related to the buffer subsystem.questionIssues that look for answers.Issues that look for answers.
Metadata
Metadata
Assignees
Labels
bufferIssues and PRs related to the buffer subsystem.Issues and PRs related to the buffer subsystem.questionIssues that look for answers.Issues that look for answers.
Type
Fields
Give feedbackNo fields configured for issues without a type.
What's the fastest way to convert a buffer containing base64-encoded data to a buffer containing binary data?
Something like this?
Is there a way to write the base64 buffer directly into another buffer, without creating any interim strings?
I thought of
binaryBuffer.write(base64Buffer, 'base64')butwrite()only accepts strings.