//
//  KLTFormat.h
//  KaiLiTe
//
//  Created by boosal on 2016/9/12.
//  Copyright © 2016年 boosal. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface KLTFormat : NSObject

+ (NSData *)dataWithHexString:(NSString *)hexString;
//+ (NSData *) hexStringToData:(NSString *)hexString;
+ (NSString *)dataToHexString:(NSData *)data isReverse:(BOOL)isReverse;
+ (NSData *)intToData:(int )a;
+ (NSData *)stringToData:(NSString *)string;
+ (NSString *)dataToString:(NSData *)data;
+ (unsigned long)getIntFromHexString:(NSString *) str;

+ (NSData *)getSystemDateTime;
+ (NSData *)getSystemDateTimeCT5;
+ (NSString *)getDateString;
+ (NSDate *)getDateFromString:(NSString *)string;
+ (NSDate *)getEventDateFromString:(NSString *)string;


+ (NSArray *)handleSelfCheckInfo:(NSString *)hex;



@end
