TypeScript functions to convert from Base64 to UTF8 and vice versa


Few days ago I wrote a post about uploading JSON object using JavaScript. There are some dependencies using this approach, which are b64EncodeUnicode and b64DecodeUnicode functions.

I’d like to share how to write these functions using TypeScript:


Author: José Quinto
Link: https://blog.josequinto.com/2017/03/08/typescript-functions-to-convert-from-base64-to-utf8-and-vice-versa/
Copyright Notice: All articles in this blog are licensed under CC BY-SA 4.0 unless stating additionally.