Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/simstudioai/sim
/ copyToArrayBuffer
Function
copyToArrayBuffer
apps/sim/lib/pptx-renderer/utils/media.ts:69–73 ·
view source on GitHub ↗
(data: Uint8Array)
Source
from the content-addressed store, hash-verified
67
}
68
69
function
copyToArrayBuffer(data: Uint8Array): ArrayBuffer {
70
const
copy =
new
Uint8Array(data.byteLength)
71
copy.set(data)
72
return
copy.buffer
73
}
Callers
1
getOrCreateBlobUrl
Function · 0.85
Calls
1
set
Method · 0.65
Tested by
no test coverage detected