org.apache.sanselan.common
Class PackBits

java.lang.Object
  extended by org.apache.sanselan.common.PackBits

public class PackBits
extends java.lang.Object


Constructor Summary
PackBits()
           
 
Method Summary
 byte[] compress(byte[] bytes)
           
 byte[] decompress(byte[] bytes, int expected)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PackBits

public PackBits()
Method Detail

decompress

public byte[] decompress(byte[] bytes,
                         int expected)
                  throws ImageReadException,
                         java.io.IOException
Throws:
ImageReadException
java.io.IOException

compress

public byte[] compress(byte[] bytes)
                throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2007-2009. All Rights Reserved.