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