Get to know MDN better
このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docs コミュニティーについてもっと知り、仲間になるにはこちらから。
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2015年7月.
getUint8() は DataView インスタンスのメソッドで、この DataView の指定されたバイトオフセットから 1 バイトを読み取り、符号なし 8 ビット整数として解釈します。
ビューの先頭からのバイト単位のオフセットで、データを読み取る位置です。
整数で、0 以上 255 以下です。
byteOffset がビューの末尾を越えて読み取るように設定されている場合に発生します。
| ECMAScript® 2027 Language Specification # sec-dataview.prototype.getuint8 |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 2026年3月4日 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.