NSString+DTFBase64.h 416 B

1234567891011121314151617181920212223242526
  1. //
  2. // NSString+DTFBase64.h
  3. // DTFUtility
  4. //
  5. // Created by 汪澌哲 on 2023/1/3.
  6. // Copyright © 2023 com.DTF.iphoneclient.zoloz. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface NSString (DTFBase64)
  11. /**
  12. * 转换为Base64编码
  13. */
  14. - (NSString *)base64EncodedString;
  15. /**
  16. * 将Base64解码
  17. */
  18. - (NSString *)base64DecodedString;
  19. @end
  20. NS_ASSUME_NONNULL_END