<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Takachan</author_name>
  <author_url>https://blog.hatena.ne.jp/Takachan/</author_url>
  <blog_title>PG日誌</blog_title>
  <blog_url>https://takap-tech.com/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>.NET Core</anon>
    <anon>.NET Framework</anon>
    <anon>Unity</anon>
  </categories>
  <description>ちょっと何の役に立つか分からないですが、16進数の文字列をバイトの配列に見た目通りに変換する方法です。 long型などの有限長の型を経由しないため基本的に無限長の長さをそのまま扱えます。 変換方法のサンプル 以下のように確実に16進数文字列と分かっているものを対象に16進数文字列 ⇔ バイト配列を相互に変換できます。 public static void Main(string[] args) { // 元の16進数表記の文字列 string dexStr = &quot;0x1234567890ABCDEF&quot;; // バイト配列に変換 byte[] array = HexConverter.Conve…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakap-tech.com%2Fentry%2F2020%2F08%2F18%2F011407&quot; title=&quot;【C#】16進数文字列とバイト配列の相互変換 - PG日誌&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>2020-08-18 01:14:07</published>
  <title>【C#】16進数文字列とバイト配列の相互変換</title>
  <type>rich</type>
  <url>https://takap-tech.com/entry/2020/08/18/011407</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
