//
//  NSData+LTEncode.h
//  LTUtility
//
//  Created by 孙泉 on 2018/5/15.
//  Copyright © 2018年 longtugame. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSData (LTEncode)

/**
 转为base64编码字符串
 */
- (NSString *)ltEncode_base64String;

/**
 转为base64编码数据
 */
- (NSData *)ltEncode_base64Data;

/**
 转为UTF-8编码字符串
 */
- (NSString *)ltEncode_utf8String;

/**
 转为UTF-8编码数据
 */
- (NSData *)ltEncode_utf8Data;

@end
