how to convert array of bytes to base64 String in iphone?

前端 未结 6 2118
生来不讨喜
生来不讨喜 2021-02-15 09:20

I have a piece of code in vb. I need to convert array of bytes to base 64 string. Following is the vb code.

If arrLicence.Count > 0 Then

LicenceByt

6条回答
  •  花落未央
    2021-02-15 09:45

    If you look at the 2 last numbers you give as example, you will notice conversion match. Because the hi and low parts are the same.

    Just swap the hi and low words.

提交回复
热议问题