* Performs decode on given content. * @protected * @param {Chain} content * @return {number[]|string|Uint8Array|Chain} Decoded content
(content)
| 94 | * @return {number[]|string|Uint8Array|Chain} Decoded content |
| 95 | */ |
| 96 | performDecode (content) { |
| 97 | switch (this.getSettingValue('case')) { |
| 98 | case 'inverse': |
| 99 | return this._inverseCase(content) |
| 100 | |
| 101 | default: |
| 102 | // Not all case transforms can be undone |
| 103 | return content |
| 104 | } |
| 105 | } |
| 106 | |
| 107 | /** |
| 108 | * Inverses the case of each character. |
nothing calls this directly
no test coverage detected