Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Moddable-OpenSource/moddable
/ berRoundTrip
Function
berRoundTrip
tests/modules/crypt/ber/null.js:13–17 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
11
berRoundTrip();
12
13
function
berRoundTrip() {
14
let
ber = BER.encode([0x05]);
15
let
v = BER.decode(ber);
16
assert.sameValue(null, v[1]);
17
}
Callers
1
null.js
File · 0.70
Calls
2
encode
Method · 0.65
decode
Method · 0.65
Tested by
no test coverage detected