Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ loadFromBytes
Function
loadFromBytes
valdi/testdata/resources/modules/test/src/LoadFile.ts:9–13 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
7
}
8
9
export
function
loadFromBytes(): any {
10
const
bytes = getModuleFileEntryAsBytes(
'test'
,
'src/test_json.json'
);
11
const
str = arrayToString(bytes);
12
return
JSON.parse(str);
13
}
Callers
nothing calls this directly
Calls
3
getModuleFileEntryAsBytes
Function · 0.90
arrayToString
Function · 0.90
parse
Method · 0.45
Tested by
no test coverage detected