mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-10-04 11:26:44 -04:00
Added support for offset/length in ByteArrayImageInputStream.
This commit is contained in:
@@ -14,8 +14,8 @@ import java.io.IOException;
|
||||
*/
|
||||
public final class ByteArrayImageInputStream extends ImageInputStreamImpl {
|
||||
private final byte[] data;
|
||||
private int dataOffset;
|
||||
private int dataLength;
|
||||
private final int dataOffset;
|
||||
private final int dataLength;
|
||||
|
||||
public ByteArrayImageInputStream(final byte[] pData) {
|
||||
this(pData, 0, pData != null ? pData.length : -1);
|
||||
|
Reference in New Issue
Block a user