(controller)
| 107 | controller.enqueue(decode(output.subarray(0, o))); |
| 108 | }, |
| 109 | flush(controller) { |
| 110 | if (remainder) { |
| 111 | const [output, i] = detach( |
| 112 | push.subarray(0, remainder), |
| 113 | calcSizeBase64(remainder), |
| 114 | ); |
| 115 | let o = encode(output, i, 0, abc, padding); |
| 116 | if (options.alphabet === "base64url") { |
| 117 | const i = output.indexOf(padding, o - 2); |
| 118 | if (i > 0) o = i; |
| 119 | } |
| 120 | controller.enqueue(decode(output.subarray(0, o))); |
| 121 | } |
| 122 | }, |
| 123 | }); |
| 124 | } |
| 125 | } |
nothing calls this directly
no test coverage detected