Package org.apache.commons.imaging.common.mylzw

## Class MyLzwCompressor

- java.lang.Object
- - org.apache.commons.imaging.common.mylzw.MyLzwCompressor

-     public class MyLzwCompressor
      extends Object

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---
    `static interface` | `MyLzwCompressor.Listener` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `MyLzwCompressor​(int initialCodeSize, ByteOrder byteOrder, boolean earlyLimit)` |
    `MyLzwCompressor​(int initialCodeSize, ByteOrder byteOrder, boolean earlyLimit, MyLzwCompressor.Listener listener)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `byte[]` | `compress​(byte[] bytes)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MyLzwCompressor

          public MyLzwCompressor​(int initialCodeSize,
                                 ByteOrder byteOrder,
                                 boolean earlyLimit)

    - #### MyLzwCompressor

          public MyLzwCompressor​(int initialCodeSize,
                                 ByteOrder byteOrder,
                                 boolean earlyLimit,
                                 MyLzwCompressor.Listener listener)

  - ### Method Detail

    - #### compress

          public byte[] compress​(byte[] bytes)
                          throws IOException

      Throws:
        `IOException`