npm run format:write

This commit is contained in:
2024-10-13 21:36:19 -05:00
parent f32b8ce679
commit 1c68227aac
+3 -5
View File
@@ -254,12 +254,10 @@ export const oscTypeConverterMap: { [key: string]: OSCTypeConverter } = {
throw new Error('osc int64 must be at least 8 bytes');
}
const view = new DataView(new ArrayBuffer(8));
buffer.subarray(0,8).forEach((byte, index)=>{
view.setUint8(index,byte)
})
buffer.subarray(0, 8).forEach((byte, index) => {
view.setUint8(index, byte);
});
return [view.getBigInt64(0), buffer.subarray(8)];
},