<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>amachang</author_name>
  <author_url>https://blog.hatena.ne.jp/amachang/</author_url>
  <blog_title>IT戦記</blog_title>
  <blog_url>https://amachang.hatenablog.com/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>boost/spirit/home/support/detail/integer/endian.hpp を参考に書いてみた 以下のような感じで定義しておいて template &lt;class T, std::size_t S&gt; struct little_endian { static inline void set(char* const buf, const T &amp;t) { *buf = t &amp; 0xff; little_endian&lt;T, S - 1&gt;::set(buf + 1, t &gt;&gt; 8); } static inline T get(const char* const buf) {…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Famachang.hatenablog.com%2Fentry%2F20090414%2F1239699166&quot; title=&quot; テンプレートを使って数値をリトルエンディアン形式のバイト列に変換する - IT戦記&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-04-14 17:52:46</published>
  <title> テンプレートを使って数値をリトルエンディアン形式のバイト列に変換する</title>
  <type>rich</type>
  <url>https://amachang.hatenablog.com/entry/20090414/1239699166</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
