类 LZWCompression

    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      byte[] decode​(byte[] bytes, java.nio.ByteOrder byteOrder)
      Decode the bytes
      byte[] encode​(byte[] bytes, java.nio.ByteOrder byteOrder)
      Encode the bytes
      boolean rowEncoding()
      True to encode on a per row basis, false to encode on a per block / strip basis
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • LZWCompression

        public LZWCompression()
    • 方法详细资料

      • decode

        public byte[] decode​(byte[] bytes,
                             java.nio.ByteOrder byteOrder)
        Decode the bytes
        指定者:
        decode 在接口中 CompressionDecoder
        参数:
        bytes - bytes to decode
        byteOrder - byte order
        返回:
        decoded bytes
      • rowEncoding

        public boolean rowEncoding()
        True to encode on a per row basis, false to encode on a per block / strip basis
        指定者:
        rowEncoding 在接口中 CompressionEncoder
        返回:
        true for row encoding
      • encode

        public byte[] encode​(byte[] bytes,
                             java.nio.ByteOrder byteOrder)
        Encode the bytes
        指定者:
        encode 在接口中 CompressionEncoder
        参数:
        bytes - bytes to encode
        byteOrder - byte order
        返回:
        encoded block of bytes