Package org.jpedal.io.filter
Class RunLength
java.lang.Object
com.idrsolutions.image.filter.Filter
org.jpedal.io.filter.RunLength
RunLength
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
decode
(byte[] data) Run length decode.void
decode
(BufferedInputStream bis, BufferedOutputStream streamCache, String cacheName, Map<String, String> cachedObjects) Run length decode.byte[]
encode
(byte[] data) void
encode
(BufferedInputStream bis, BufferedOutputStream bos) Methods inherited from class com.idrsolutions.image.filter.Filter
hasError, setEncHash, setupCachedObjectForDecoding
-
Constructor Details
-
RunLength
-
-
Method Details
-
decode
public byte[] decode(byte[] data) Run length decode. -
decode
public void decode(BufferedInputStream bis, BufferedOutputStream streamCache, String cacheName, Map<String, String> cachedObjects) Run length decode. If both data and cached stream are present it will check they are identical -
encode
public byte[] encode(byte[] data) -
encode
-