MCPcopy Create free account
hub / github.com/violentmonkey/violentmonkey / blob2chunk

Function blob2chunk

src/background/utils/requests.js:77–79  ·  view source on GitHub ↗
(response, index, size)

Source from the content-addressed store, hash-verified

75const UA_HEADERS = Object.keys(UA_GETTERS);
76
77function blob2chunk(response, index, size) {
78 return blob2base64(response, index * size, size);
79}
80
81function blob2objectUrl(response) {
82 const url = URL.createObjectURL(response);

Callers

nothing calls this directly

Calls 1

blob2base64Function · 0.90

Tested by

no test coverage detected