mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-26 13:20:45 +00:00
dumpview: allow opening multiple swfs, context menu: expand all and close menu items
show abc and actionbytes in dump view, hexview style fixes better scroll to view mode in hex editor
This commit is contained in:
@@ -79,7 +79,6 @@ import java.io.ByteArrayOutputStream;
|
||||
import java.io.IOException;
|
||||
import java.io.OutputStream;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.zip.Deflater;
|
||||
import java.util.zip.DeflaterOutputStream;
|
||||
|
||||
@@ -415,20 +414,12 @@ public class SWFOutputStream extends OutputStream {
|
||||
* Writes list of Tag values to the stream
|
||||
*
|
||||
* @param tags List of tag values
|
||||
* @param tagPositions
|
||||
* @param tagLengths
|
||||
* @throws IOException
|
||||
*/
|
||||
public void writeTags(List<Tag> tags, Map<Tag, Long> tagPositions, Map<Tag, Integer> tagLengths) throws IOException {
|
||||
public void writeTags(List<Tag> tags) throws IOException {
|
||||
for (Tag tag : tags) {
|
||||
long pos = getPos();
|
||||
tag.writeTag(this);
|
||||
int length = (int) (getPos() - pos);
|
||||
tagPositions.put(tag, pos);
|
||||
tagLengths.put(tag, length);
|
||||
}
|
||||
|
||||
// todo: honfika: update tag position and lengths. Currently the 2nd save fails
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user