I am trying to get the content of MultipartFile, which is obtained through MultipartHttpServletRequest.getFile().
There are 2 functions in MultipartFile,
bytes[] getBytes() ()
InputStream getInputStream()
What is the most efficient way to get the content? (which method would you use?)