mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-04 20:15:28 -04:00
Made length parameters long.
This commit is contained in:
parent
3e972495db
commit
4db0597657
@ -76,16 +76,16 @@ final class PSDUtil {
|
|||||||
return new String(bytes);
|
return new String(bytes);
|
||||||
}
|
}
|
||||||
|
|
||||||
static DataInputStream createPackBitsStream(final ImageInputStream pInput, int pLength) {
|
static DataInputStream createPackBitsStream(final ImageInputStream pInput, long pLength) {
|
||||||
return new DataInputStream(new DecoderStream(IIOUtil.createStreamAdapter(pInput, pLength), new PackBitsDecoder()));
|
return new DataInputStream(new DecoderStream(IIOUtil.createStreamAdapter(pInput, pLength), new PackBitsDecoder()));
|
||||||
}
|
}
|
||||||
|
|
||||||
static DataInputStream createZipStream(final ImageInputStream pInput, int pLength) {
|
static DataInputStream createZipStream(final ImageInputStream pInput, long pLength) {
|
||||||
//return new DataInputStream(new DecoderStream(IIOUtil.createStreamAdapter(pInput, pLength), new InflateDecoder()));
|
//return new DataInputStream(new DecoderStream(IIOUtil.createStreamAdapter(pInput, pLength), new InflateDecoder()));
|
||||||
return new DataInputStream(new ZipInputStream(IIOUtil.createStreamAdapter(pInput, pLength)));
|
return new DataInputStream(new ZipInputStream(IIOUtil.createStreamAdapter(pInput, pLength)));
|
||||||
}
|
}
|
||||||
|
|
||||||
static DataInputStream createZipPredictorStream(final ImageInputStream pInput, int pLength) {
|
static DataInputStream createZipPredictorStream(final ImageInputStream pInput, long pLength) {
|
||||||
throw new UnsupportedOperationException("Method createZipPredictonStream not implemented");
|
throw new UnsupportedOperationException("Method createZipPredictonStream not implemented");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user