MCPcopy 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}
136function decodeValue(value: Uint8Array<ArrayBuffer>) {
137 return JSON.parse(decoder.decode(value)) as SettingValue
138}
139
140export const delimiter = '/'
141

Callers 1

unflattenObjectFunction · 0.85

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected