<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>udzura</author_name>
  <author_url>https://blog.hatena.ne.jp/udzura/</author_url>
  <blog_title>ローファイ日記</blog_title>
  <blog_url>https://udzura.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>手作りの温かみのあるバイナリです。 作りかた そろそろRustで書くか、と思ってRustで書いた。 bytes というcrateが今回の用途にめちゃくちゃマッチしていた。数値をBig Endianで書き込めればいいので、こういう感じで。 pub fn write(&amp;self, mut out: impl io::Write) -&gt; Result&lt;(), io::Error&gt; { let b = &amp;self.binary_header; let mut buf = bytes::BytesMut::new(); buf.put_slice(&amp;b.ident); buf.put_slice(&amp;b.…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fudzura.hatenablog.jp%2Fentry%2F2023%2F05%2F13%2F233502&quot; title=&quot;mruby 3.2 で実行できるmrbバイナリを自作した - ローファイ日記&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>2023-05-13 23:35:02</published>
  <title>mruby 3.2 で実行できるmrbバイナリを自作した</title>
  <type>rich</type>
  <url>https://udzura.hatenablog.jp/entry/2023/05/13/233502</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
