Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AlexErrant/Pentive
/ decodeValue
Function
decodeValue
app/src/sqlite/settings.ts:136–138 ·
view source on GitHub ↗
(value: Uint8Array<ArrayBuffer>)
Source
from the content-addressed store, hash-verified
134
: rawValue
135
}
136
function
decodeValue(value: Uint8Array<ArrayBuffer>) {
137
return
JSON.parse(decoder.decode(value)) as SettingValue
138
}
139
140
export
const
delimiter =
'/'
141
Callers
1
unflattenObject
Function · 0.85
Calls
1
parse
Method · 0.45
Tested by
no test coverage detected