MCPcopy
hub / github.com/streetwriters/notesnook / parseComplete

Method parseComplete

apps/mobile/worker.js:1932–1935  ·  view source on GitHub ↗

* Resets the parser, then parses a complete document and * pushes it to the handler. * * @param data Document to parse.

(data)

Source from the content-addressed store, hash-verified

1930 * @param data Document to parse.
1931 */
1932 parseComplete(data) {
1933 this.reset();
1934 this.end(data);
1935 }
1936 getSlice(start, end) {
1937 while (start - this.bufferOffset >= this.buffers[0].length) {
1938 this.shiftBuffer();

Callers

nothing calls this directly

Calls 2

resetMethod · 0.95
endMethod · 0.95

Tested by

no test coverage detected