add new tags to sprites

This commit is contained in:
honfika@gmail.com
2014-11-06 11:49:12 +01:00
parent 7baee5eeb0
commit ea6568d71d
21 changed files with 437 additions and 76 deletions

View File

@@ -12,7 +12,8 @@
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library.
* License along with this library.
*/
package com.jpexs.helpers;
import com.jpexs.helpers.streams.SeekableInputStream;
@@ -40,7 +41,7 @@ public class MemoryInputStream extends SeekableInputStream {
public MemoryInputStream(byte[] buffer, int startPos, int maxLength) throws IOException {
this.buffer = buffer;
this.startPos = startPos;
this.startPos = startPos;
if (startPos > buffer.length) {
throw new IOException("Invalid startPos");
}
this.maxLength = maxLength;