(data)
| 19 | } |
| 20 | |
| 21 | _base64urlDecode(data) { |
| 22 | data = data.replace(/-/g, "+").replace(/_/g, "/"); |
| 23 | data = data.padEnd(Math.ceil(data.length / 4) * 4, "="); |
| 24 | return Base64.decode(data); |
| 25 | } |
| 26 | |
| 27 | _padArray(arr, length) { |
| 28 | const res = new Uint8Array(length); |
no test coverage detected