MCPcopy Create free account
hub / github.com/MathMan05/Fermi / constructor

Method constructor

src/webpage/utils/binaryUtils.ts:56–59  ·  view source on GitHub ↗
(maxSize: number = 2 ** 26)

Source from the content-addressed store, hash-verified

54 private buffer: ArrayBuffer;
55 private i = 0;
56 constructor(maxSize: number = 2 ** 26) {
57 this.buffer = new ArrayBuffer(maxSize);
58 this.view = new DataView(this.buffer, 0);
59 }
60 write32Float(numb: number) {
61 this.view.setFloat32(this.i, numb);
62 this.i += 4;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected