title: Print the size (megabytes) of Data in Swift
body: <p>I have a variable fileData of Data type and I am struggling to find how to print the size of this.</p>
  
  <p>In the past NSData you would print the length but unable to do that with this type.</p>
  
  <p>How to print the size of a Data in Swift?</p>