title: Which way is better? Save a media file to MongoDB as array of bytes or as string?
body: <p>I'm saving media files (pictures, PDFs, etc.) in MongoDB as array of bytes. I saw examples where people saved it by Encoding and Decoding array of bytes to string. What is the difference? Maybe difference in performance? So which way is better? </p>
  
  <p>I've noticed that when file saved as array of bytes Mongo Management Studio opens collection longer then when it saved like string</p>