<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>simotin13</author_name>
  <author_url>https://blog.hatena.ne.jp/simotin13/</author_url>
  <blog_title>simotin13's message</blog_title>
  <blog_url>https://mcommit.hatenadiary.com/</blog_url>
  <categories>
    <anon>Go</anon>
  </categories>
  <description>最近触り始めたGo言語で、勉強としてバイナリファイルを読み込んでHexダンプしてみました。 バイナリファイルといってもfile.Readを使った読み込みなのでバイナリかどうかはあまり関係ないかもしれない。 package main import ( &quot;fmt&quot; &quot;os&quot; ) func main() { argc := len(os.Args) if argc &lt; 2 { fmt.Println(&quot;input file name.&quot;) return } filename := os.Args[1] f, err := os.Open(filename) if err != nil { fmt.P…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmcommit.hatenadiary.com%2Fentry%2F2018%2F03%2F26%2F011813&quot; title=&quot;Goでバイナリファイルを読み込んでHexダンプしてみた - simotin13&amp;#39;s message&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>https://cdn-ak.f.st-hatena.com/images/fotolife/s/simotin13/20180326/20180326011052.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-03-26 01:18:13</published>
  <title>Goでバイナリファイルを読み込んでHexダンプしてみた</title>
  <type>rich</type>
  <url>https://mcommit.hatenadiary.com/entry/2018/03/26/011813</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
