Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Moddable-OpenSource/moddable
/ H2B
Function
H2B
examples/crypt/cryptdigest/main.js:18–21 ·
view source on GitHub ↗
(hstr)
Source
from the content-addressed store, hash-verified
16
import
Bin from
"bin"
;
17
18
function
H2B(hstr)
19
{
20
return
ArrayBuffer.fromBigInt(BigInt(hstr));
21
}
22
23
function
B2H(b)
24
{
Callers
1
main.js
File · 0.70
Calls
1
fromBigInt
Method · 0.80
Tested by
no test coverage detected