diff --git a/src/de/mas/wiiu/jnus/implementations/FSTDataProviderNUSTitle.java b/src/de/mas/wiiu/jnus/implementations/FSTDataProviderNUSTitle.java index 15bf4da..c7991eb 100644 --- a/src/de/mas/wiiu/jnus/implementations/FSTDataProviderNUSTitle.java +++ b/src/de/mas/wiiu/jnus/implementations/FSTDataProviderNUSTitle.java @@ -16,7 +16,6 @@ ****************************************************************************/ package de.mas.wiiu.jnus.implementations; -import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; @@ -65,15 +64,6 @@ public class FSTDataProviderNUSTitle implements FSTDataProvider, HasNUSTitle { return rootEntry; } - @Override - public byte[] readFile(FSTEntry entry, long offset, long size) throws IOException { - ByteArrayOutputStream out = new ByteArrayOutputStream(); - - readFileToStream(out, entry, offset, Optional.of(size)); - - return out.toByteArray(); - } - @Override public boolean readFileToStream(OutputStream out, FSTEntry entry, long offset, Optional size) throws IOException { long fileOffset = entry.getFileOffset() + offset;