MCPcopy
hub / github.com/sparkjsdev/spark / transcodeSpz

Function transcodeSpz

src/SplatLoader.ts:897–907  ·  view source on GitHub ↗
(
  input: TranscodeSpzInput,
)

Source from the content-addressed store, hash-verified

895}
896
897export async function transcodeSpz(
898 input: TranscodeSpzInput,
899): Promise<{ input: TranscodeSpzInput; fileBytes: Uint8Array }> {
900 return await withWorker(async (worker) => {
901 const result = (await worker.call("transcodeSpz", input)) as {
902 input: TranscodeSpzInput;
903 fileBytes: Uint8Array;
904 };
905 return result;
906 });
907}
908
909export type FileInput = {
910 fileBytes: Uint8Array;

Callers

nothing calls this directly

Calls 2

withWorkerFunction · 0.90
callMethod · 0.45

Tested by

no test coverage detected