Advertisement
Guest User

Untitled

a guest
Sep 13th, 2017
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. public void musics() {
  2. for(int MusicIndex = 0; MusicIndex < 65000; MusicIndex++) {
  3. byte[] abyte0 = GetMusic(MusicIndex);
  4. if(abyte0 != null && abyte0.length > 0) {
  5. decompressors[4].method234(abyte0.length, abyte0, MusicIndex);
  6. }
  7. }
  8. }
  9.  
  10. public byte[] GetMusic(int Index) {
  11. try {
  12. File Music = new File("./dump/"+Index+".gz");
  13. byte[] aByte = new byte[(int)Music.length()];
  14. FileInputStream Fis = new FileInputStream(Music);
  15. Fis.read(aByte);
  16. System.out.println(""+Index+" aByte = ["+aByte+"]!");
  17. Fis.close();
  18. return aByte;
  19. } catch(Exception e) {
  20. return null;
  21. }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement