{"author_url":"https://blog.hatena.ne.jp/rubytips86/","type":"rich","provider_name":"Hatena Blog","author_name":"rubytips86","url":"https://rubytips86.hatenablog.com/entry/2014/03/24/113205","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Frubytips86.hatenablog.com%2Fentry%2F2014%2F03%2F24%2F113205\" title=\"\u6587\u5b57\u5217\u309216\u9032\u6570\u6587\u5b57\u5217\u306b\u5909\u63db\u3059\u308b - Ruby Tips!\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","description":"\u6587\u5b57\u5217\u309216\u9032\u6570\u6587\u5b57\u5217\u306b\u5909\u63db\u3059\u308b\u306b\u306fString#unpack\u3092\u4f7f\u3063\u3066\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3059\u308b\u3002 STring#unpack\u306f\u914d\u5217\u3092\u8fd4\u3059\u306e\u3067\u3001\u5148\u982d\u8981\u7d20\u3092\u53d6\u308a\u51fa\u3059\u305f\u3081Array#first\u3092\u4f7f\u3063\u3066\u3044\u308b\u3002 p \"123abc\".unpack('H*').first #=> \"313233616263\" \u9006\u306b16\u9032\u6570\u6587\u5b57\u5217\u3092\u666e\u901a\u306e\u6587\u5b57\u5217\u306b\u5909\u63db\u3059\u308b\u306b\u306fArray#pack\u3092\u4f7f\u3063\u3066\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3059\u308b\u3002 p [\"313233616263\"].pack('H*') #=> \"123abc\"","blog_title":"Ruby Tips!","width":"100%","published":"2014-03-24 11:32:05","image_url":null,"title":"\u6587\u5b57\u5217\u309216\u9032\u6570\u6587\u5b57\u5217\u306b\u5909\u63db\u3059\u308b","version":"1.0","blog_url":"https://rubytips86.hatenablog.com/","height":"190","categories":[]}