mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-26 17:50:44 +00:00
AS2 reading performance improvements
This commit is contained in:
@@ -123,6 +123,13 @@ public class SWFOutputStream extends OutputStream {
|
||||
pos++;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void write(byte[] b) throws IOException {
|
||||
alignByte();
|
||||
os.write(b);
|
||||
pos += b.length;
|
||||
}
|
||||
|
||||
private void alignByte() throws IOException {
|
||||
if (bitPos > 0) {
|
||||
bitPos = 0;
|
||||
|
||||
Reference in New Issue
Block a user