Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc für Elexis version 2.1.7.dev vom 01.09.2013

ch.rgw.compress
Class RLL

java.lang.Object
  extended by ch.rgw.compress.RLL

public class RLL
extends java.lang.Object

RLL Commpressor/Decompressor


Constructor Summary
RLL()
           
 
Method Summary
static byte[] compress(byte rllchar, byte[] source)
          compress the source array. use rllchar as character to indicate repetition. if rllchar is 0x0, the least frequent character from source will be used.
static byte[] expand(byte[] source)
          Expand a rll-compressed array
static java.lang.String Version()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RLL

public RLL()
Method Detail

Version

public static java.lang.String Version()

compress

public static byte[] compress(byte rllchar,
                              byte[] source)
compress the source array. use rllchar as character to indicate repetition. if rllchar is 0x0, the least frequent character from source will be used.

Returns:
a newly created array with the rll compressed data.

expand

public static byte[] expand(byte[] source)
Expand a rll-compressed array

Parameters:
source - the compressed array. First byte must be the rllchar.
Returns:
a newly created array with the expanded data.

Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc für Elexis version 2.1.7.dev vom 01.09.2013