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

Method writeChar

modules/crypt/ssl/ssl_stream.js:62–66  ·  view source on GitHub ↗
(c)

Source from the content-addressed store, hash-verified

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);
65 this.#bytes[this.#write++] = c;
66 }
67 writeChars(v, n) {
68 if (this.#write + n > this.#bytes.length)
69 this.morebuf(n);

Callers 6

packetizeFunction · 0.95
packetizeFunction · 0.95
calculateMacFunction · 0.95
aeadAdditionalDataFunction · 0.95
packetizeFunction · 0.95
packetizeFunction · 0.95

Calls 1

morebufMethod · 0.95

Tested by

no test coverage detected