MCPcopy Create free account
hub / github.com/TruthHun/BookStack / utf16DetectIncompleteChar

Function utf16DetectIncompleteChar

static/word2md/mammoth.browser.js:27846–27849  ·  view source on GitHub ↗
(buffer)

Source from the content-addressed store, hash-verified

27844}
27845
27846function utf16DetectIncompleteChar(buffer) {
27847 this.charReceived = buffer.length % 2;
27848 this.charLength = this.charReceived ? 2 : 0;
27849}
27850
27851function base64DetectIncompleteChar(buffer) {
27852 this.charReceived = buffer.length % 3;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected