欢迎光临散文网 会员登陆 & 注册

Bilibili B站直播弹幕协议:javascript DataView 到 aardio

2022-06-19 19:45 作者:黑白太刀  | 我要投稿


DataView.prototype.getInt32()

getInt32() 方法从 DataView 相对于起始位置偏移 n 个字节处开始,获取一个 32-bit 数 (长整型,4 个字节)。

参数

  • @1 byteOffset

    偏移量,单位为字节,从头开始计算。

  • @2 littleEndian

    可选 Indicates whether the 32-bit int is stored in little- or big-endian format. If false or undefined, a big-endian value is read.

    (指示 32 位 int 是以小端格式还是大端格式存储。如果为 false 或未定义,则读取大端值。)


aardio 代码表示:


Bilibili B站直播弹幕协议:javascript DataView 到 aardio的评论 (共 条)

分享到微博请遵守国家法律