| 169 | let remainder = 0; |
| 170 | super({ |
| 171 | transform(chunk, controller) { |
| 172 | let output = encode(chunk); |
| 173 | if (remainder) { |
| 174 | output = detach(output, remainder + output.length)[0]; |
| 175 | output.set(push.subarray(0, remainder)); |
| 176 | } |
| 177 | remainder = output.length % 8; |
| 178 | if (remainder) push.set(output.subarray(-remainder)); |
| 179 | const o = decode( |
| 180 | output.subarray(0, -remainder || undefined), |
| 181 | 0, |
| 182 | 0, |
| 183 | abc, |
| 184 | padding, |
| 185 | ); |
| 186 | controller.enqueue(output.subarray(0, o)); |
| 187 | }, |
| 188 | flush(controller) { |
| 189 | if (remainder) { |
| 190 | const o = decode( |