js. To encode to base-64, instead of btoa use the following: const myString = 'hello' const encoded = Buffer.from(myString) ...
確定! 回上一頁