title: Audio file to byte array Android not getting converted correctly
body: <p>I am trying to convert audio file to the byte array, but it seems it is not getting converted correctly. I am recording sound using mic, then converting that file to byte array using file's path on the device.</p>
  
  <p>The desired byte array should be like 0x12323</p>
  
  <p>But it is coming like this string [B@14746f6</p>
  
  <p>Below is the code to convert audio to byte array</p>
  
  <p>file is the path of the file on the device. File type is amr</p>
  
  <pre><code> FileInputStream fis = new FileInputStream(file);
              ByteArrayOutputStream out = new ByteArrayOutputStream();
              int read = 0;
              byte[] buffer = new byte[1024];
              while (read != -1) {
                  read = fis.read(buffer);
                  if (read != -1)
                      out.write(buffer,0,read);
              }
              out.close();
  
              byte[] bytes = out.toByteArray();
              Log.e("byte array" ,bytes.toString());
  </code></pre>