<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>AMIT</author_name>
  <author_url>https://blog.hatena.ne.jp/AMIT/</author_url>
  <blog_title>うらよみざっき　その２</blog_title>
  <blog_url>https://amit-2.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>後輩の研究で，バイナリを可視16進数で吐く(数値←→16進法表記の変換)のにprintf(&quot;%x&quot;,num)だと遅くて話にならん状況が発生した．とか勝手に解釈して，どんずまっていた自分の作業そっちのけで気晴らしにやってみた．初めに考えたのは，とりあえず単純に計算式で変換する物である．(エラー処理は高速化を追求する為に無視．) #define atob(x) (((x)+'0')+(((x)+6)&gt;&gt;4)*7) #define btoa(x) (((x)-'0')-((x)&gt;&gt;6)*7) //xを16進法でstrにつっこむ (後ろの\0はない) inline void encode(unsign…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Famit-2.hatenadiary.org%2Fentry%2F20071101%2F1193924003&quot; title=&quot;Encode&amp;amp;Decode on %x - うらよみざっき　その２&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>2007-11-01 22:33:23</published>
  <title>Encode&amp;Decode on %x</title>
  <type>rich</type>
  <url>https://amit-2.hatenadiary.org/entry/20071101/1193924003</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
