If you want to check for specific characters while streaming, is there really any problem with checking for them in the output of the decoder rather than the input? In the case of streaming, the conversion needs to be a part of the main processing logic anyway.