类 LZWCompression
- java.lang.Object
-
- org.meteoinfo.data.mapdata.geotiff.compression.LZWCompression
-
- 所有已实现的接口:
CompressionDecoder,CompressionEncoder
public class LZWCompression extends java.lang.Object implements CompressionDecoder, CompressionEncoder
LZW Compression- 作者:
- osbornb
-
-
构造器概要
构造器 构造器 说明 LZWCompression()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 byte[]decode(byte[] bytes, java.nio.ByteOrder byteOrder)Decode the bytesbyte[]encode(byte[] bytes, java.nio.ByteOrder byteOrder)Encode the bytesbooleanrowEncoding()True to encode on a per row basis, false to encode on a per block / strip basis
-
-
-
方法详细资料
-
decode
public byte[] decode(byte[] bytes, java.nio.ByteOrder byteOrder)Decode the bytes- 指定者:
decode在接口中CompressionDecoder- 参数:
bytes- bytes to decodebyteOrder- 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 encodebyteOrder- byte order- 返回:
- encoded block of bytes
-
-