网易云缓存提取
in Android with 0 comment

网易云缓存提取

in Android with 0 comment
File file = new File(Environment.getExternalStorageDirectory()+"/netease/cloudmusic/Cache/Music1/"+filename);
FileInputStream fileInputStream = new FileInputStream(file);
byte[] buf = new byte[fileInputStream.available()];
fileInputStream.read(buf);
fileInputStream.close();

int len = buf.length;
int key = 0xa3;
for (int temp = 0; temp < len; temp++)
{
	buf[temp] ^= key;
}