dataView.getUint16 (DataView) – JavaScript 中文开发手册

时间:2020-07-05 13:44:54   收藏:0   阅读:74
[
  • ??JavaScript 中文开发手册

    dataView.getUint16 (DataView) - JavaScript 中文开发手册

    getUint16()方法从DataView起始位置以byte为计数的指定偏移量(byteOffset)处获取一个16-bit数(无符号短整型)。

    语法

    dataview.getUint16(byteOffset [, littleEndian])

    参数

    byteOffset偏移量, 单位为字节, 从头开始计算.littleEndian可选Indicates whether the 16-bit int is stored inlittle- or big-endianformat. If false or undefined, a big-endian value is read。

    返回值

    一个无符号短整型16位数。

    抛出错误

    ]
  • ??本文标题:dataView.getUint16 (DataView) – JavaScript 中文开发手册 - Break易站
    转载请保留页面地址:https://www.breakyizhan.com/javascript/32687.html
    评论(0
    © 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
    迷上了代码!