org.freehep.util.io
Class RunLengthInputStream
- java.lang.Object
-
- java.io.InputStream
-
- org.freehep.util.io.RunLengthInputStream
-
- All Implemented Interfaces:
- java.io.Closeable, java.lang.AutoCloseable, RunLength
public class RunLengthInputStream extends java.io.InputStream implements RunLength
The RunLengthStream decodes Run Length encoding. The exact definition of Run Length encoding can be found in the PostScript Language Reference (3rd ed.) chapter 3.13.3. IMPORTANT: inherits from InputStream rather than FilterInputStream so that the correct read(byte[], int, int) method is used.
-
-
Constructor Summary
Constructors Constructor and Description RunLengthInputStream(java.io.InputStream input)Create a Run Length input stream
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intread()
-
DMelt 3.0 © DataMelt by jWork.ORG