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

Method _basicCodePointFromDigit

src/Encoder/Bootstring.js:424–426  ·  view source on GitHub ↗

* Translates a basic code point digit into a Unicode code point. * @param {number} digit Basic code point digit * @return {number} Unicode code point

(digit)

Source from the content-addressed store, hash-verified

422 * @return {number} Unicode code point
423 */
424 _basicCodePointFromDigit (digit) {
425 return this.getSettingValue('digitMapping').getCodePointAt(digit)
426 }
427
428 /**
429 * Triggered when a setting field has changed.

Callers 1

performEncodeMethod · 0.95

Calls 2

getCodePointAtMethod · 0.80
getSettingValueMethod · 0.80

Tested by

no test coverage detected