mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-10-03 23:53:15 -04:00
Made length parameters long.
This commit is contained in:
@@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user