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

Method readStringNo

src/webpage/utils/binaryUtils.ts:28–35  ·  view source on GitHub ↗
(length: number)

Source from the content-addressed store, hash-verified

26 return float;
27 }
28 readStringNo(length: number) {
29 const array = new Uint8Array(length);
30 for (let i = 0; i < length; i++) {
31 array[i] = this.read8();
32 }
33 //console.log(array);
34 return new TextDecoder("utf8").decode(array.buffer as ArrayBuffer);
35 }
36 readAsciiString8() {
37 return this.readAsciiStringNo(this.read8());
38 }

Callers 3

decodeEmojiListMethod · 0.95
readString8Method · 0.95
readString16Method · 0.95

Calls 1

read8Method · 0.95

Tested by

no test coverage detected