Base 64 decoding a large mime message attachment

To decode this base64 mime content, I use:

  1. pub.io:streamToString
  2. pub.string:base64Decode

I didn’t mention any encoding in these 2 services, left to Default. Is this might be the problem? What is the value to be given for Encoding filed while converting a base64 encoded mime stream?