MCPcopy Index your code
hub / github.com/scriptscat/scriptcat / toUint8Array

Method toUint8Array

src/pkg/utils/jszip-x.ts:65–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63 }
64
65 private async toUint8Array(): Promise<Uint8Array<ArrayBuffer>> {
66 return toUint8Array(this.content);
67 }
68
69 private async toBlob(): Promise<Blob> {
70 if (typeof Blob !== "undefined" && this.content instanceof Blob) {

Callers 2

asyncMethod · 0.95
toBlobMethod · 0.95

Calls 1

toUint8ArrayFunction · 0.85

Tested by

no test coverage detected