What is the advantage of using Base64 encoding?

后端 未结 8 1564
长情又很酷
长情又很酷 2020-12-13 13:18

What is the advantage of using Base64 encode?

I would like to understand it better. Do I really need it? Can\'t I simply use pure strings?

I heard that the e

8条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-13 13:46

    Originally some protocols only allowed 7 bit, and sometimes only 6 bit, data.

    Base64 allows one to encode 8 bit data into 6 bits for transmission on those types of links.

    Email is an example of this.

提交回复
热议问题