Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
loadAsync
Method · 0.45
Calls
1
slice
Method · 0.45
Tested by
no test coverage detected