<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>potisan</author_name>
  <author_url>https://blog.hatena.ne.jp/potisan/</author_url>
  <blog_title>potisanのプログラミングメモ</blog_title>
  <blog_url>https://potisan-programming-memo.hatenablog.jp/</blog_url>
  <categories>
    <anon>JavaScript</anon>
  </categories>
  <description>Uint8Arrayは要素を0～255（0～0xff）の整数に収める。要素は整数かつ&amp; 0xffで変換される。 Uint8ClampedArrayは要素を0～255（0～0xff）の整数に収める。要素は整数かつ0未満は0、255超過は255に変換される。 Uint8Array.of(255, 256, 257, 258, 0, -1, -2) // Uint8Array(7) [ 255, 0, 1, 2, 0, 255, 254 ] Uint8ClampedArray.of(255, 256, 257, 258, 0, -1, -2) // Uint8ClampedArray(7) [ 25…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpotisan-programming-memo.hatenablog.jp%2Fentry%2F2020%2F10%2F22%2F231342&quot; title=&quot;JavaScript Uint8ArrayとUint8ClampedArrayの要素の範囲制限方法の違い - potisanのプログラミングメモ&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-10-22 23:13:42</published>
  <title>JavaScript Uint8ArrayとUint8ClampedArrayの要素の範囲制限方法の違い</title>
  <type>rich</type>
  <url>https://potisan-programming-memo.hatenablog.jp/entry/2020/10/22/231342</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
