MCPcopy Create free account
hub / github.com/cryptii/cryptii / decode

Method decode

src/Encoder.js:39–41  ·  view source on GitHub ↗

* Prepares and performs decode on given content. * @param {number[]|string|Uint8Array|Chain} content * @return {Promise} Resolves to decoded content

(content)

Source from the content-addressed store, hash-verified

37 * @return {Promise} Resolves to decoded content
38 */
39 async decode (content) {
40 return this.translate(content, false)
41 }
42
43 /**
44 * Prepares and performs translation on given content.

Callers 7

testMethod · 0.80
performDecodeMethod · 0.80
performDecodeMethod · 0.80
performDecodeMethod · 0.80
performDecodeMethod · 0.80
performEncodeMethod · 0.80
performDecodeMethod · 0.80

Calls 1

translateMethod · 0.95

Tested by 1

testMethod · 0.64