MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / readChar

Method readChar

modules/crypt/ssl/ssl_stream.js:85–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83 this.writeChunk(ArrayBuffer.fromString(s));
84 }
85 readChar() {
86 if (this.#read >= this.#write)
87 throw new Error;
88 return this.#bytes[this.#read++];
89 }
90 readChars(n) {
91 if (this.#read + n > this.#write)
92 throw new Error;

Callers 4

unpacketizeFunction · 0.95
unpacketizeFunction · 0.80
unpacketizeFunction · 0.80
unpacketizeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected