calculating the action length without writing it to a stream

This commit is contained in:
honfika@gmail.com
2015-07-17 09:19:51 +02:00
parent 3e7d891280
commit a6dc717225
35 changed files with 454 additions and 326 deletions

View File

@@ -16,13 +16,15 @@
*/
package com.jpexs.helpers;
import com.jpexs.decompiler.flash.SWFInputStream;
/**
*
* @author JPEXS
*/
public class ByteArrayRange {
public static final ByteArrayRange EMPTY = new ByteArrayRange(new byte[0]);
public static final ByteArrayRange EMPTY = new ByteArrayRange(SWFInputStream.BYTE_ARRAY_EMPTY);
private final byte[] array;