<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ryousanngata</author_name>
  <author_url>https://blog.hatena.ne.jp/ryousanngata/</author_url>
  <blog_title>日々量産</blog_title>
  <blog_url>https://ryozi.hatenadiary.jp/</blog_url>
  <categories>
    <anon>プログラミング</anon>
  </categories>
  <description>バイナリファイルをifstreamで操作しようとしたら不満が出たので。 readの返り値は自身のオブジェクト（読み込んだbyte数じゃない） ios::binaryの時のoperator &gt;&gt;(...)の挙動がヤダ なので、オレオレBinaryFileReaderを作りました。自己満足です。 ifstreamの良さが分かる日はくるのだろか。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fryozi.hatenadiary.jp%2Fentry%2F20110213%2F1297562339&quot; title=&quot;ifstreamの挙動が気に入らない - 日々量産&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>2011-02-13 10:58:59</published>
  <title>ifstreamの挙動が気に入らない</title>
  <type>rich</type>
  <url>https://ryozi.hatenadiary.jp/entry/20110213/1297562339</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
