multivalent.std.adaptor.pdf
public class DecodeRunLength extends FilterInputStream
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 int | EOD End of data marker. |
Constructor Summary | |
---|---|
DecodeRunLength(InputStream in) |
Method Summary | |
---|---|
boolean | markSupported() |
int | read(byte[] b, int off, int len) |
int | read() |