Re: [v8-users] base64 encode/decode in v8

2018-08-20 Thread 'Mathias Bynens' via v8-users
`btoa` (and `atob`) are indeed browser-specific APIs; they’re not part of ECMAScript and not implemented in V8. You could use a JavaScript implementation. https://github.com/mathiasbynens/base64 matches the browser APIs `btoa` and `atob` as closely as possible. On Mon, Aug 20, 2018 at 8:26 PM Gau

[v8-users] base64 encode/decode in v8

2018-08-20 Thread Gautham B A
Hello folks, I was wondering if there's any v8 API that allows one to do base64 encoding/decoding. Browsers have window.btoa, but it's not part of the global object in v8. Thanks, --Gautham -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You