code: private static String getMagicMimeType(final byte[] bytes) throws IOException {
  		final int len = mMagicMimeEntries.size();
  		for (int i = 0; i < len; i++) {
  			final MagicMimeEntry me = mMagicMimeEntries.get(i);
  			final String mtype = me.getMatch(bytes);
  			if (mtype != null) {
  				return mtype;
  			}
  		}
  		return null;
  	}
docs: Gets the magic mime type.
  
  @param bytes the bytes
  @return the magic mime type
  @throws IOException Signals that an I/O exception has occurred.