MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / constructor

Method constructor

src/common/buffer.ts:5–8  ·  view source on GitHub ↗
(s: string, pos = 0)

Source from the content-addressed store, hash-verified

3 pos: number;
4
5 constructor(s: string, pos = 0) {
6 this.s = s;
7 this.pos = pos;
8 }
9
10 atEnd(): boolean {
11 return this.pos >= this.s.length;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected