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

Method morebuf

modules/crypt/ssl/ssl_stream.js:59–61  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

57 }
58 }
59 morebuf(n) {
60 this.#bytes.buffer.resize((this.#write + n + 31) & ~31);
61 }
62 writeChar(c) {
63 if (this.#write >= this.#bytes.length)
64 this.morebuf(1);

Callers 3

writeCharMethod · 0.95
writeCharsMethod · 0.95
writeChunkMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected