MCPcopy Create free account
hub / github.com/Effect-TS/effect / load

Method load

packages/effect/src/encoding/Xml.ts:1532–1536  ·  view source on GitHub ↗
(buf: string, base: number)

Source from the content-addressed store, hash-verified

1530 }
1531
1532 private load(buf: string, base: number): void {
1533 this.buf = buf
1534 this.base = base
1535 this.nextCR = this.nextLF = -1
1536 }
1537
1538 // Fails an incomplete token over maxTokenSize, preferring an error in the
1539 // first maxTokenSize + 1 characters of markup, as `parse` does

Callers 4

endMethod · 0.95
errorMethod · 0.95
consumeMethod · 0.95
checkPendingMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected