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

Method getc

modules/crypt/etc/ber.js:163–165  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

161 this.#a.buffer.resize(this.#a.length + n);
162 }
163 getc() {
164 return this.#a[this.#i++];
165 }
166 putc(c) {
167 if (this.#i >= this.#a.length)
168 this.morebuf(1);

Callers 2

_decodeMethod · 0.80
decodeTagMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected