multivalent.std.adaptor.pdf

Class DecodeRunLength

public class DecodeRunLength extends FilterInputStream

RunLengthDecode filter. Never used in practice.
length byte followed by 1 to 128 bytes of data. If the length byte is in the range 0 to 127, the following length +1 (1 to 128) bytes are copied literally during decompression. If length is in the range 129 to 255, the following single byte is to be copied 257 -length (2 to 128) times during decompression. A length value of 128 denotes EOD.

Version: $Revision: 1.9 $ $Date: 2003/07/30 20:48:22 $

Field Summary
static intEOD
End of data marker.
Constructor Summary
DecodeRunLength(InputStream in)
Method Summary
booleanmarkSupported()
intread(byte[] b, int off, int len)
intread()

Field Detail

EOD

public static final int EOD
End of data marker.

Constructor Detail

DecodeRunLength

public DecodeRunLength(InputStream in)

Method Detail

markSupported

public boolean markSupported()

read

public int read(byte[] b, int off, int len)

read

public int read()