读取一键喂鱼

This commit is contained in:
kai60
2022-05-21 21:36:04 +08:00
parent 76e8cf7561
commit 50628a8404
6 changed files with 98 additions and 64 deletions
+6
View File
@@ -13,6 +13,12 @@
+(NSData *) stringToHexData:(NSString*)string;
+(NSString *)hexStringFromString:(NSString *)string;
+(NSString *)ToHex:(long long int)tmpid;
/// 十进制转二进制,补全,截取特定位置
/// @param decimal 十进制
/// @param location 截取位数从末尾开始123...
/// @param totalLength 补全位数,例如8位,4位,传0不会处理
+ (NSString *)getBinaryByDecimal:(NSInteger)decimal location:(NSInteger)location totalLength:(NSInteger)totalLength;
+(UInt64)hexToTen:(NSString*)str;
+(NSString *)groupNumberTohex:(NSInteger)number;
+(NSString *)stringFromHexString:(NSString *)hexString;