MCPcopy Create free account
hub / github.com/scriptscat/scriptcat / bytes

Method bytes

tests/mocks/blob.ts:114–117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

112 }
113
114 async bytes(): Promise<Uint8Array> {
115 if (this.#isConsumed) throw new TypeError("Blob stream already consumed");
116 return this.#data.slice();
117 }
118}

Callers 1

loadAsyncMethod · 0.45

Calls 1

sliceMethod · 0.45

Tested by

no test coverage detected