{"blog_title":"\u305f\u307e\u305f\u3093\u306e\u3076\u308d\u3050","url":"https://tama.hatenablog.jp/entry/2013/06/12/233156","image_url":null,"title":"NSData\u309216\u9032\u6570\u306e\u6587\u5b57\u5217\u306b\u51fa\u529b\u3059\u308b\u95a2\u6570","author_name":"tama-jp","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","width":"100%","version":"1.0","type":"rich","categories":["iOS","XCode"],"published":"2013-06-12 23:31:56","author_url":"https://blog.hatena.ne.jp/tama-jp/","description":"\u4e45\u3057\u3076\u308a\u306b\u6295\u7a3f\u3002 NSData\u309216\u9032\u6570\u306e\u6587\u5b57\u5217\u306b\u51fa\u529b\u3059\u308b\u95a2\u6570\u3002(ARC\u7528\uff09 - (NSString*) serializeDeviceToken:(NSData*) deviceToken { NSMutableString *str = [NSMutableStringstringWithCapacity:64]; int length = [deviceToken length]; char *bytes = malloc(sizeof(char) * length); [deviceToken getBytes:bytes length:length]; for (int i = 0;\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftama.hatenablog.jp%2Fentry%2F2013%2F06%2F12%2F233156\" title=\"NSData\u309216\u9032\u6570\u306e\u6587\u5b57\u5217\u306b\u51fa\u529b\u3059\u308b\u95a2\u6570 - \u305f\u307e\u305f\u3093\u306e\u3076\u308d\u3050\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","blog_url":"https://tama.hatenablog.jp/"}