MCPcopy Create free account
hub / github.com/cloudflare/computer /

Class

packages/computer/src/assets/index.test.ts:13–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11// readable half so the fake bucket can assert that share() passed a
12// known-length stream to R2.
13class TestFixedLengthStream extends TransformStream<ArrayBuffer | ArrayBufferView, Uint8Array> {
14 constructor(expectedLength: number | bigint) {
15 super();
16 fixedLengthReads.set(this.readable, Number(expectedLength));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected