大约有 4 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0020 秒)
... byte:Byte = new Byte(); //或者传入一个类型化数组 var uint8Byte:Uint8Array = new Uint8Array(10); var byte:Byte = new Byte(uint8Byte); //或者传入一个ArrayBuffer类型 var buffer:ArrayBuffer = new ArrayBuffer(20); var byte:Byte = new Byte(buffer); ``` - **writeArrayBuffer**(arrayb...
来源: Laya2.0_文档 发布时间: 20210715
....Byte = new Laya.Byte(); //或者传入一个类型化数组 var uint8Byte:Uint8Array = new Uint8Array(10); var byte:Laya.Byte = new Laya.Byte(uint8Byte); //或者传入一个ArrayBuffer类型 var buffer:ArrayBuffer = new ArrayBuffer(20); var byte:Laya.Byte = new Laya.Byte(buffer); ``` - **write...
来源: Laya2.0_文档 发布时间: 20210715
...= new Laya.Byte(); //或者传入一个类型化数组 var uint8Byte = new Uint8Array(10); var byte = new Laya.Byte(uint8Byte); //或者传入一个ArrayBuffer类型 var buffer = new ArrayBuffer(20); var byte = new Laya.Byte(buffer); ``` - **writeArrayBuffer**(arraybuffer, offset, length) 写入...
来源: Laya2.0_文档 发布时间: 20210714
...e function drawHandler():void { Laya.stage.graphics.clear(); var dataArray:Uint8Array = new Uint8Array(analyser.frequencyBinCount); analyser.getByteFrequencyData(dataArray); var step:int = Math.round(dataArray.length / 60); for (var i:int = 0; i < 40; i++) { var energy:int = (dataArray[step * i] / 2...
来源: Laya2.0_文档 发布时间: 20210715