cocos-nodejs-io-game/test.js
2022-12-05 21:46:02 +08:00

4 lines
106 B
JavaScript

const ab = new ArrayBuffer(10)
const view = new DataView(ab)
view.setFloat32(0, 0.0023)
console.log(view);