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

Method constructor

src/webpage/utils/binaryUtils.ts:4–6  ·  view source on GitHub ↗
(buffer: ArrayBuffer)

Source from the content-addressed store, hash-verified

2 private i = 0;
3 private view: DataView;
4 constructor(buffer: ArrayBuffer) {
5 this.view = new DataView(buffer, 0);
6 }
7 read16() {
8 const int = this.view.getUint16(this.i);
9 this.i += 2;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected