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

Method performTranslate

src/Encoder.js:264–266  ·  view source on GitHub ↗

* Performs encode or decode on given content. * @protected * @param {Chain} content * @param {boolean} isEncode True for encoding, false for decoding * @return {number[]|string|Uint8Array|Chain|Promise} Resulting content

(content, isEncode)

Source from the content-addressed store, hash-verified

262 * @return {number[]|string|Uint8Array|Chain|Promise} Resulting content
263 */
264 performTranslate (content, isEncode) {
265 return content
266 }
267
268 /**
269 * Triggered after performing encode or decode on given content.

Callers 2

performEncodeMethod · 0.95
performDecodeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected