MCPcopy Index your code
hub / github.com/Moddable-OpenSource/moddable / writeString

Method writeString

modules/crypt/ssl/ssl_stream.js:82–84  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

80 this.#write += n;
81 }
82 writeString(s) {
83 this.writeChunk(ArrayBuffer.fromString(s));
84 }
85 readChar() {
86 if (this.#read >= this.#write)
87 throw new Error;

Callers 8

packetizeFunction · 0.95
runMethod · 0.45
tool.jsFile · 0.45
runMethod · 0.45
runMethod · 0.45
runMethod · 0.45
writeAuxMethod · 0.45
runMethod · 0.45

Calls 2

writeChunkMethod · 0.95
fromStringMethod · 0.80

Tested by

no test coverage detected