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

Method performDecode

src/Encoder/Base64.js:135–140  ·  view source on GitHub ↗

* Performs decode on given content. * @protected * @param {Chain} content * @return {number[]|string|Uint8Array|Chain} Decoded content

(content)

Source from the content-addressed store, hash-verified

133 * @return {number[]|string|Uint8Array|Chain} Decoded content
134 */
135 performDecode (content) {
136 // Forward request to the internal byte encoder
137 return ByteEncoder.bytesFromBase64String(
138 content.getString(),
139 this.getVariantOptions())
140 }
141
142 /**
143 * Triggered when a setting field has changed.

Callers

nothing calls this directly

Calls 3

getVariantOptionsMethod · 0.95
bytesFromBase64StringMethod · 0.80
getStringMethod · 0.80

Tested by

no test coverage detected