* Prepares and performs encode on given content. * @param {number[]|string|Uint8Array|Chain} content * @return {Promise} Resolves to encoded content
(content)
| 28 | * @return {Promise} Resolves to encoded content |
| 29 | */ |
| 30 | async encode (content) { |
| 31 | return this.translate(content, true) |
| 32 | } |
| 33 | |
| 34 | /** |
| 35 | * Prepares and performs decode on given content. |