Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/conversejs/converse.js
/ hexToArrayBuffer
Function
hexToArrayBuffer
src/headless/utils/arraybuffer.js:37–40 ·
view source on GitHub ↗
(hex)
Source
from the content-addressed store, hash-verified
35
}
36
37
export
function
hexToArrayBuffer (hex) {
38
const
typedArray =
new
Uint8Array(hex.match(/[\da-f]{2}/gi).map(h => parseInt(h, 16)))
39
return
typedArray.buffer
40
}
Callers
1
decryptFile
Function · 0.85
Calls
1
map
Method · 0.80
Tested by
no test coverage detected