objective-c - iOS Nsdata (hexadecimal stored in it) converted to decimal
PHP中文网
PHP中文网 2017-05-02 09:31:46
0
1
685

NSdata header stores the length of the image, ru: <00000000 000768f3 >, this is a hexadecimal number, how to convert it to decimal

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(1)
Ty80
uint64_t length = 0;
[data getBytes:&length length:8];
length = CFSwapInt64HostToBig(length);
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template