* Returns the byte representation of a Unicode character at given index. * @param {number} index Unicode code point index * @return {Uint8Array} Character bytes
(index)
| 122 | * @return {Uint8Array} Character bytes |
| 123 | */ |
| 124 | getCharBytesAt (index) { |
| 125 | return TextEncoder.bytesFromCodePoints([this.getCodePointAt(index)]) |
| 126 | } |
| 127 | |
| 128 | /** |
| 129 | * Returns the amount of Unicode code points inside chain. |
no test coverage detected