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

前端 未结 6 2105
生来不讨喜
生来不讨喜 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:55

    See code sample, Very self-explained ...

    http://www.cocoadev.com/index.pl?BaseSixtyFour

    Also check below SO post .

    How do I do base64 encoding on iphone-sdk?

提交回复
热议问题