feat: more compression ig

This commit is contained in:
TrèsAbhi committed 2024-02-04 21:40:40 -06:00
1 parent 6753cedd33
commit 3b1066fade
3 files changed
+24 -15

No files matched your search

+10
View File
@@ -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;
}
}