What is equant Class to "NSScanner" Class in Android?

49 views Asked by At

I am working on one bel project on android and converting the one application already developed in iOS I am stuck one bunch of lines and didn't find equant code in java

I need to convert the below code and want a class performing below actions in android.

NSString *strOneHour = [NSString stringWithFormat:@"%08x",CFSwapInt32HostToLittle(timeProcessdata[0])];
NSScanner *scanner = [NSScanner scannerWithString:strOneHour];
int oneHour;
[scanner setScanLocation:0]; // bypass '#' character
[scanner scanHexInt:&oneHour];

Thanks

1

There are 1 answers

0
Rohit J On

Here is android's scanner

Hope this is what you are looking for.