mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-30 11:47:02 +00:00
Added Optimize ABC action (remove unused items) - available through ABC Explorer
Fixed Outputstreams position calculation (ABCOutputStream, ...)
This commit is contained in:
@@ -145,6 +145,13 @@ public class SWFOutputStream extends OutputStream {
|
||||
pos += b.length;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void write(byte[] b, int off, int len) throws IOException {
|
||||
alignByte();
|
||||
os.write(b, off, len);
|
||||
pos += len;
|
||||
}
|
||||
|
||||
public void write(ByteArrayRange b) throws IOException {
|
||||
alignByte();
|
||||
os.write(b.getArray(), b.getPos(), b.getLength());
|
||||
|
||||
Reference in New Issue
Block a user