title: Get the content of MultipartFile
body: <p>I am trying to get the content of <code>MultipartFile</code>, which is obtained through <code>MultipartHttpServletRequest.getFile()</code>.</p>
  
  <p>There are 2 functions in <code>MultipartFile</code>:</p>
  
  <ul>
  <li><p><code>bytes[] getBytes() ()</code></p></li>
  <li><p><code>InputStream getInputStream()</code></p></li>
  </ul>
  
  <p>What is the most efficient way to get the content?  (Which method would you use?)</p>