use data iterator in MIME decoders