MCPcopy Create free account
hub / github.com/allocnode/oh-my-sage / decompress

Function decompress

ref/gateway_client.js:76–79  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

74}
75
76function decompress(data) {
77 if (data.length < 4) throw new Error('Data too short');
78 return inflateRawSync(data.slice(4));
79}
80
81// ==================== ECJPAKE ====================
82class ECJPAKE {

Callers 1

handleMessageMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected