메소드 | 설명 | |
---|---|---|
CalculateMaxCompressedLength ( int uncompressedLength ) : int |
Calculate the max compressed byte[] size given the size of the uncompressed byte[]
|
|
Compress ( byte source ) : byte[] | ||
Compress ( byte source, byte dest ) : int |
Compress source into dest returning compressed length
|
|
Compress ( byte source, int srcOffset, int count, byte dest, int dstOffset ) : int |
Compress source into dest returning compressed length
|
|
Decompress ( byte compressed ) : byte[] | ||
Decompress ( byte compressed, byte decompressedBuffer ) : int | ||
Decompress ( byte compressedBuffer, byte decompressedBuffer, int compressedSize ) : int | ||
Decompress ( byte compressedBuffer, byte decompressedBuffer, int compressedSize, int maxDecompressedSize ) : int | ||
DecompressKnownSize ( byte compressed, byte decompressedBuffer, int decompressedSize ) : int | ||
DecompressKnownSize ( byte compressed, byte decompressed ) : void |
public static CalculateMaxCompressedLength ( int uncompressedLength ) : int | ||
uncompressedLength | int | Length of the uncompressed data |
리턴 | int |
public static Compress ( byte source, byte dest ) : int | ||
source | byte | uncompressed data |
dest | byte | array into which source will be compressed |
리턴 | int |
public static Compress ( byte source, int srcOffset, int count, byte dest, int dstOffset ) : int | ||
source | byte | uncompressed data |
srcOffset | int | offset in source array where reading will start |
count | int | count of bytes in source array to compress |
dest | byte | array into which source will be compressed |
dstOffset | int | start index in dest array where writing will start |
리턴 | int |
public static Decompress ( byte compressed ) : byte[] | ||
compressed | byte | |
리턴 | byte[] |
public static Decompress ( byte compressed, byte decompressedBuffer ) : int | ||
compressed | byte | |
decompressedBuffer | byte | |
리턴 | int |
public static Decompress ( byte compressedBuffer, byte decompressedBuffer, int compressedSize ) : int | ||
compressedBuffer | byte | |
decompressedBuffer | byte | |
compressedSize | int | |
리턴 | int |
public static Decompress ( byte compressedBuffer, byte decompressedBuffer, int compressedSize, int maxDecompressedSize ) : int | ||
compressedBuffer | byte | |
decompressedBuffer | byte | |
compressedSize | int | |
maxDecompressedSize | int | |
리턴 | int |
public static DecompressKnownSize ( byte compressed, byte decompressedBuffer, int decompressedSize ) : int | ||
compressed | byte | |
decompressedBuffer | byte | |
decompressedSize | int | |
리턴 | int |
public static DecompressKnownSize ( byte compressed, byte decompressed ) : void | ||
compressed | byte | |
decompressed | byte | |
리턴 | void |