MCPcopy Create free account
hub / github.com/Maschell/JNUSTool / getAsByteArray

Method getAsByteArray

src/de/mas/jnustool/FEntry.java:331–341  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

329 }
330
331 public byte[] getAsByteArray() throws IOException {
332 boolean localCopyValid = localValidEncryptedFileFound();
333 if(localCopyValid){
334 Logger.log("Decrypting meta.xml");
335 Decryption decrypt = new Decryption(fst.getTmd().getNUSTitle().getTicket());
336 return decrypt.decryptAsByte(this,getDownloadPath());
337 }else{
338 Logger.log("Downloading meta.xml");
339 return downloadAsByteArray();
340 }
341 }
342
343 public byte[] getH3() throws IOException {
344 byte[] h3 = new byte[0x14];

Callers 1

NUSTitleMethod · 0.80

Calls 8

logMethod · 0.95
decryptAsByteMethod · 0.95
getDownloadPathMethod · 0.95
downloadAsByteArrayMethod · 0.95
getNUSTitleMethod · 0.80
getTicketMethod · 0.45
getTmdMethod · 0.45

Tested by

no test coverage detected