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

Method writeStringNo

src/webpage/utils/binaryUtils.ts:86–91  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

84 }
85 }
86 writeStringNo(str: string) {
87 const encode = new TextEncoder().encode(str);
88 for (const thing of encode) {
89 this.write8(thing);
90 }
91 }
92 getBuffer() {
93 const buf = new ArrayBuffer(this.i);
94 const ar1 = new Uint8Array(buf);

Callers 1

page.tsFile · 0.80

Calls 1

write8Method · 0.95

Tested by

no test coverage detected