<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gsf_zero1</author_name>
  <author_url>https://blog.hatena.ne.jp/gsf_zero1/</author_url>
  <blog_title>いろいろ備忘録日記</blog_title>
  <blog_url>https://devlights.hatenablog.com/</blog_url>
  <categories>
    <anon>linux</anon>
    <anon>vim</anon>
  </categories>
  <description>概要 参考情報 概要 小ネタ。知っているとたまに助かるときがあったりします。よく忘れるのでついでにメモも兼ねて。 vim でバイナリファイルを見たり、編集したりしたい場合は以下のようにします。 まず、バイナリモードで開きましょう。 $ vim -b xxxx.bin 表示されるとバイナリが直接表示されているので、訳分からない表示となっています。 んで、以下のコマンドを実行。 :%!xxd 16進数表記になります。値を見たり書き換えたりしましょう。 最後に書き込む場合は以下のようにします。 %!xxd -r ちなみに xxd コマンドは vim-common パッケージに含まれています。なので、…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdevlights.hatenablog.com%2Fentry%2F2021%2F03%2F26%2F153954&quot; title=&quot;vimでバイナリファイルを編集する - いろいろ備忘録日記&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>2021-03-26 15:39:54</published>
  <title>vimでバイナリファイルを編集する</title>
  <type>rich</type>
  <url>https://devlights.hatenablog.com/entry/2021/03/26/153954</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
