From 92c6b365bbdfdeba27f5a6b8f6efeaec31a9a7f3 Mon Sep 17 00:00:00 2001 From: honfika Date: Sun, 24 Aug 2014 08:49:01 +0200 Subject: [PATCH] missing file --- src/com/jpexs/decompiler/flash/SWFInputStream.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/com/jpexs/decompiler/flash/SWFInputStream.java b/src/com/jpexs/decompiler/flash/SWFInputStream.java index 04e10b30d..71d3b5ec2 100644 --- a/src/com/jpexs/decompiler/flash/SWFInputStream.java +++ b/src/com/jpexs/decompiler/flash/SWFInputStream.java @@ -723,7 +723,7 @@ public class SWFInputStream implements AutoCloseable { * @param count Number of bytes to skip * @throws IOException */ - public void skipBytes(int count) throws IOException { + public void skipBytes(long count) throws IOException { try { bitPos = 0; for (int i = 0; i < count; i++) { @@ -1446,7 +1446,7 @@ public class SWFInputStream implements AutoCloseable { } ByteArrayRange dataRange = new ByteArrayRange(swf.uncompressedData, (int) pos, (int) (tagLength + headerLength)); - skipBytes((int) tagLength); + skipBytes(tagLength); TagStub tagStub = new TagStub(swf, tagID, "Unresolved", dataRange, tagDataStream); tagStub.forceWriteAsLong = readLong; @@ -3296,7 +3296,7 @@ public class SWFInputStream implements AutoCloseable { public MemoryInputStream getBaseStream() throws IOException { int pos = (int) is.getPos(); - return new MemoryInputStream(is.getAllRead(), pos, pos + is.available()); + return new MemoryInputStream(is.getAllRead(), pos, is.available()); } public SWFInputStream getLimitedStream(int limit) throws IOException {