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

Method putc

modules/crypt/etc/ber.js:166–170  ·  view source on GitHub ↗
(c)

Source from the content-addressed store, hash-verified

164 return this.#a[this.#i++];
165 }
166 putc(c) {
167 if (this.#i >= this.#a.length)
168 this.morebuf(1);
169 this.#a[this.#i++] = c;
170 }
171 putTag(tag) {
172 this.putc(tag);
173 }

Callers 3

putTagMethod · 0.95
putLengthMethod · 0.95
encodeMethod · 0.95

Calls 1

morebufMethod · 0.95

Tested by

no test coverage detected