tc39/proposal-arraybuffer-base64

Consider buffer -> buffer translation

dead-claudia opened this issue · 3 comments

When working with Base64 data off the wire in bodies and the like, it'd be very helpful (for efficiency reasons) to avoid the intermediate string and just go from UTF-8-encoded Base64 to raw bytes.

Ehh... I can see cases where that might be useful, but I don't think it needs to go in the initial proposal. I am open to being convinced, though.

I'd be okay with this being a follow-on. There's questions on how it should interact with streams and such as well.

This won't be part of this proposal, but it could conceivably be done later.