<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>cookie30000</author_name>
  <author_url>https://blog.hatena.ne.jp/cookie30000/</author_url>
  <blog_title>個人的備忘録</blog_title>
  <blog_url>https://cookie40000.hatenablog.com/</blog_url>
  <categories>
    <anon>.Net</anon>
    <anon>C#</anon>
  </categories>
  <description>.Net FrameworkのBinaryWriter/Readerはビッグエンディアンに対応していない。 ので、ビッグエンディアンを扱う場合はこんな感じで書いていた。 static void Main(string[] args) { using (var stream = new MemoryStream()) using (var writer = new BinaryWriter(stream)) { writer.Write(SwapBytes(0x1234)); } } static UInt16 SwapBytes(UInt16 value) { return (UInt16)(…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcookie40000.hatenablog.com%2Fentry%2F2016%2F03%2F29%2F224936&quot; title=&quot;BinaryWriter/Readerとエンディアン変換 - 個人的備忘録&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>2016-03-29 22:49:36</published>
  <title>BinaryWriter/Readerとエンディアン変換</title>
  <type>rich</type>
  <url>https://cookie40000.hatenablog.com/entry/2016/03/29/224936</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
