Class RMCodecLZW


  • public class RMCodecLZW
    extends java.lang.Object
    This class decodes LZW encoded bytes.
    • Constructor Summary

      Constructors 
      Constructor Description
      RMCodecLZW​(byte[] bytes, int offset, int length, int predictor1, int columns1, int colors1, int bits1, int early1)
      Creates a new LZW decoder for given bytes.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static byte[] decode​(byte[] bytes, int offset, int length, int predictor, int columns, int colors, int bits, int early)
      Returns a decoded byte array for given LZW encoded byte array.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RMCodecLZW

        public RMCodecLZW​(byte[] bytes,
                          int offset,
                          int length,
                          int predictor1,
                          int columns1,
                          int colors1,
                          int bits1,
                          int early1)
        Creates a new LZW decoder for given bytes.
    • Method Detail

      • decode

        public static byte[] decode​(byte[] bytes,
                                    int offset,
                                    int length,
                                    int predictor,
                                    int columns,
                                    int colors,
                                    int bits,
                                    int early)
        Returns a decoded byte array for given LZW encoded byte array.