Maven module :un.api : api-encoding :
Class : un.impl.io.rle.RLEInputStream
Extends/Implements : un.api.io.AbstractInputStream
Subclasses : -

Run-Length Encoding input stream.
This stream wraps another stream and uncompress it's content using RLE.
http://en.wikipedia.org/wiki/Run-length_encoding
A derivate version of RLE is also used in bitmaps, this class can not handle it.
author  Johann Sorel


Variables : -
Functions : RLEInputStream, RLEInputStream, read, close



public void RLEInputStream (ByteInputStream in)


param  in
param  dataSize , number of byte used for rawdata and rle packet
Common value is 1 (for one byte), but some storage format can take advantage of
largeur blocks (like 4bytes for a float/int or 3bytes for a color).
public void RLEInputStream (ByteInputStream in, int dataSize)

public int read ()

public void close ()