Today there is no chunked conversion — the base Converter inherits the SDK's startChunkedConversion, which throws UnsupportedError, so codec pipelines over files/sockets don't work with Stream.transform.
Architecture fit
- Add per-codec chunked sinks that carry the bit-accumulator state across chunks, as an additive path beside the fast whole-buffer
convert() — the whole-buffer fast path must not regress (differential + benchmark proof).
- Start with the bit-regrouping codecs (base16/32/64) where the accumulator is the generic
BitEncoder/BitDecoder state.
Effort: M–L
Checklist
Today there is no chunked conversion — the base
Converterinherits the SDK'sstartChunkedConversion, which throwsUnsupportedError, so codec pipelines over files/sockets don't work withStream.transform.Architecture fit
convert()— the whole-buffer fast path must not regress (differential + benchmark proof).BitEncoder/BitDecoderstate.Effort: M–L
Checklist
startChunkedConversionoverrides carrying accumulator stateconvert()— byte-identical