Issue #367 Search in memory: save(export) SWFs

few refactorings
This commit is contained in:
Jindra Pet��k
2013-09-10 07:46:16 +02:00
parent 9696b91d4d
commit 17a5e75f1a
17 changed files with 133 additions and 48 deletions
@@ -25,7 +25,7 @@ import java.io.InputStream;
*/
public class PosMarkedInputStream extends InputStream {
private int pos = 0;
private long pos = 0;
private InputStream is;
public PosMarkedInputStream(InputStream is) {
@@ -38,11 +38,11 @@ public class PosMarkedInputStream extends InputStream {
return is.read();
}
public int getPos() {
public long getPos() {
return pos;
}
public void setPos(int pos) throws IOException {
public void setPos(long pos) throws IOException {
this.pos = pos;
}