<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ninoseki</author_name>
  <author_url>https://blog.hatena.ne.jp/ninoseki/</author_url>
  <blog_title>にのせき日記</blog_title>
  <blog_url>https://ninoseki.hatenadiary.org/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>16進数がコンマで区切られているファイルを読み込んで、各16進数を10進数に変換して出力する。ファイルデータ 0D,27,72 19,33,63 13,1D,6C 3D,21,42 23,1D,EC 31,39,4E 2F,05,50 3B,11,44 37,09,48 0B,17,74ソース file = open(&quot;HEX.TXT&quot;) file.each{|e| array = e.split(',') 0.upto(array.length - 1){|i| print array[i].hex, &quot;\s&quot; } puts(&quot;\n&quot;) } 実行結果 13 39 114 25 51 99 1…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fninoseki.hatenadiary.org%2Fentry%2F20090205%2F1233817032&quot; title=&quot;16進数を10進数に変換 - にのせき日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-02-05 15:57:12</published>
  <title>16進数を10進数に変換</title>
  <type>rich</type>
  <url>https://ninoseki.hatenadiary.org/entry/20090205/1233817032</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
