<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>thinca</author_name>
  <author_url>https://blog.hatena.ne.jp/thinca/</author_url>
  <blog_title>永遠に未完成</blog_title>
  <blog_url>https://thinca.hatenablog.com/</blog_url>
  <categories>
    <anon>vim</anon>
    <anon>event</anon>
  </categories>
  <description>Vim Advent Calendar 2013 の 128 日目の記事です。 Vim でバイナリデータを扱う方法についてのまとめです。 基礎知識 Vim script で扱える文字列は、C 言語の文字列と同じです。すなわち、'\0' 文字終端のバイト列です。これはつまり、NUL 文字が扱えないことを意味します。文字列でバイナリデータを扱おうとすると、ここでつまづきます。 文字列の配列 NUL 文字が扱えないなら、それを区切りとする文字列の配列で扱えばいいじゃない、ってことで、文字列の配列です。 Vim 本体組み込みの readfile() と writefile() 関数では、これに少し手を…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fthinca.hatenablog.com%2Fentry%2F20140407%2F1396882767&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>2014-04-07 23:59:27</published>
  <title> Vim でバイナリデータを扱う</title>
  <type>rich</type>
  <url>https://thinca.hatenablog.com/entry/20140407/1396882767</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
