MCPcopy Create free account
hub / github.com/fontsource/fontsource / R2ObjectBody

Interface R2ObjectBody

website/worker-configuration.d.ts:1625–1633  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1623 writeHttpMetadata(headers: Headers): void;
1624}
1625interface R2ObjectBody extends R2Object {
1626 get body(): ReadableStream;
1627 get bodyUsed(): boolean;
1628 arrayBuffer(): Promise<ArrayBuffer>;
1629 bytes(): Promise<Uint8Array>;
1630 text(): Promise<string>;
1631 json<T>(): Promise<T>;
1632 blob(): Promise<Blob>;
1633}
1634type R2Range = {
1635 offset: number;
1636 length?: number;

Callers 23

writeDownloadFunction · 0.80
router.tsFile · 0.80
upload.test.tsFile · 0.80
downloadFileFunction · 0.80
downloadVariableFileFunction · 0.80
generateZipFunction · 0.80
useFontConverterFunction · 0.80
updateZipFunction · 0.65
updateFileFunction · 0.65
updateVariableFileFunction · 0.65
updateVariableListFunction · 0.65
updateAxisRegistryFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected