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

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 代码表示: