org.broad.igv.util
Class CompressionUtils
java.lang.Object
org.broad.igv.util.CompressionUtils
public class CompressionUtils
- extends java.lang.Object
Created by IntelliJ IDEA.
User: jrobinso, mdecautis
Date: Dec 13, 2009
Time: 4:16:42 PM
To change this template use File | Settings | File Templates.
Method Summary |
static byte[] |
compress(byte[] data)
|
static byte[] |
compress(byte[] data,
int chunkSize)
|
static byte[] |
decompress(byte[] data)
|
static byte[] |
decompress(byte[] data,
int uncompressedChunkSize)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompressionUtils
public CompressionUtils()
decompress
public static byte[] decompress(byte[] data)
decompress
public static byte[] decompress(byte[] data,
int uncompressedChunkSize)
- Parameters:
data
- -- the data to decompressuncompressedChunkSize
- -- an estimate of the uncompressed chunk size. This need not be exact.
- Returns:
compress
public static byte[] compress(byte[] data)
compress
public static byte[] compress(byte[] data,
int chunkSize)
Copyright © 2007-2011 - Thomas Abeel - All Rights Reserved.