<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gfx</author_name>
  <author_url>https://blog.hatena.ne.jp/gfx/</author_url>
  <blog_title>Islands in the byte stream (legacy)</blog_title>
  <blog_url>https://gfx.hatenadiary.org/</blog_url>
  <categories>
    <anon>JavaScript</anon>
  </categories>
  <description>W3Cによれば、この違いは値がclampされるかどうからしい。clampというのは、範囲の指定されたintにその範囲を超えた値を代入したとき、通常であればmoduloで処理するところを、範囲の上限の値を代わりに代入する、というものだ。 // NOTE: node.js doesn't support Uint8ClampedArray &quot;use strict&quot;; // normal typed array var a = new Uint8Array(1); a[0] = 1000; console.log(a[0]); // 1000 % 0xFF =&gt; 232 // clamped typ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgfx.hatenadiary.org%2Fentry%2F20120520%2F1337512218&quot; title=&quot; Uint8ArrayとUint8ClampedArrayの違い - Islands in the byte stream (legacy)&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>2012-05-20 20:10:18</published>
  <title> Uint8ArrayとUint8ClampedArrayの違い</title>
  <type>rich</type>
  <url>https://gfx.hatenadiary.org/entry/20120520/1337512218</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
