메소드 | 설명 | |
---|---|---|
Compress ( byte value ) : byte[] |
Compresses all bytes in the array, with default BEST_COMPRESSION level
|
|
Compress ( byte value, int offset, int length ) : byte[] |
Compresses the specified byte range, with default BEST_COMPRESSION level
|
|
Compress ( byte value, int offset, int length, int compressionLevel ) : byte[] |
Compresses the specified byte range using the specified compressionLevel (constants are defined in java.util.zip.Deflater).
|
|
CompressString ( string value ) : byte[] |
Compresses the String value, with default BEST_COMPRESSION level
|
|
CompressString ( string value, int compressionLevel ) : byte[] |
Compresses the String value using the specified compressionLevel (constants are defined in java.util.zip.Deflater).
|
|
Decompress ( BytesRef bytes ) : byte[] |
Decompress the byte array previously returned by compress (referenced by the provided BytesRef)
|
|
Decompress ( byte value ) : byte[] |
Decompress the byte array previously returned by compress
|
|
Decompress ( byte value, int offset, int length ) : byte[] |
Decompress the byte array previously returned by compress
|
|
DecompressString ( BytesRef bytes ) : string |
Decompress the byte array (referenced by the provided BytesRef) previously returned by compressString back into a String
|
|
DecompressString ( byte value ) : string |
Decompress the byte array previously returned by compressString back into a String
|
|
DecompressString ( byte value, int offset, int length ) : string |
Decompress the byte array previously returned by compressString back into a String
|
메소드 | 설명 | |
---|---|---|
CompressionTools ( ) : System |
public static Compress ( byte value, int offset, int length ) : byte[] | ||
value | byte | |
offset | int | |
length | int | |
리턴 | byte[] |
public static Compress ( byte value, int offset, int length, int compressionLevel ) : byte[] | ||
value | byte | |
offset | int | |
length | int | |
compressionLevel | int | |
리턴 | byte[] |
public static CompressString ( string value ) : byte[] | ||
value | string | |
리턴 | byte[] |
public static CompressString ( string value, int compressionLevel ) : byte[] | ||
value | string | |
compressionLevel | int | |
리턴 | byte[] |
public static Decompress ( BytesRef bytes ) : byte[] | ||
bytes | BytesRef | |
리턴 | byte[] |
public static Decompress ( byte value, int offset, int length ) : byte[] | ||
value | byte | |
offset | int | |
length | int | |
리턴 | byte[] |
public static DecompressString ( BytesRef bytes ) : string | ||
bytes | BytesRef | |
리턴 | string |
public static DecompressString ( byte value ) : string | ||
value | byte | |
리턴 | string |
public static DecompressString ( byte value, int offset, int length ) : string | ||
value | byte | |
offset | int | |
length | int | |
리턴 | string |