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

Method morebuf

modules/crypt/etc/ber.js:159–162  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

157 }
158
159 morebuf(n) {
160 if (n < 128) n = 128;
161 this.#a.buffer.resize(this.#a.length + n);
162 }
163 getc() {
164 return this.#a[this.#i++];
165 }

Callers 2

putcMethod · 0.95
putChunkMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected