DataView.prototype.getUint8()
DataView 实例的 getUint8() 方法在该 DataView 的指定字节偏移处读取 1 个字节,并将其解释为 8 位无符号整数。
¥The getUint8() method of DataView instances reads 1 byte at the specified byte offset of this DataView and interprets it as an 8-bit unsigned integer.
Try it
语法
参数
返回值
例外情况
示例
使用 getUint8()
规范
| Specification |
|---|
| ECMAScript Language Specification # sec-dataview.prototype.getuint8 |
浏览器兼容性
BCD tables only load in the browser
也可以看看
¥See also