mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 03:29:51 +02:00
feat: more compression ig
This commit is contained in:
1 parent
6753cedd33
commit
3b1066fade
3 files changed
+24
-15
No files matched your search
@@ -143,4 +143,14 @@ export class WriteStream {
|
||||
}
|
||||
return this;
|
||||
}
|
||||
float32(value: number) {
|
||||
const array = new Float32Array([value]);
|
||||
this.array.push(...new Uint8Array(array.buffer));
|
||||
return this;
|
||||
}
|
||||
float64(value: number) {
|
||||
const array = new Float64Array([value]);
|
||||
this.array.push(...new Uint8Array(array.buffer));
|
||||
return this;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user