經安全檢測,此網站為安全網站,請放心前往原始網址!

iphone - Objective C parse hex string to integer - Stack Overflow

strtol() is your friend. It converts a string to a long, and you can pass the base of the number in. Strip that # sign off first though, or pass to strtol a pointer ...

stackoverflow.com

網址安全性掃描由 google 提供