CompressionUtils
Inhalt
[
Ausblenden
]Inheritance: java.lang.Object
public class CompressionUtils
Bietet Hilfsmethoden für Kompression und Dekompression.
Konstruktoren
| Konstruktor | Beschreibung |
|---|---|
| CompressionUtils() |
Methoden
| Methode | Beschreibung |
|---|---|
| decodeByBrotli(byte[] input) | Dekomprimiert das angegebene Brotli-komprimierte Byte-Array. |
| encodeByBrotli(byte[] buff, int buffLength) | Komprimiert das angegebene Byte-Array mit dem Brotli-Algorithmus. |
| equals(Object arg0) | |
| getClass() | |
| hashCode() | |
| notify() | |
| notifyAll() | |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
CompressionUtils()
public CompressionUtils()
decodeByBrotli(byte[] input)
public static byte[] decodeByBrotli(byte[] input)
Dekomprimiert das angegebene Brotli-komprimierte Byte-Array.
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| Eingabe | byte[] | Die komprimierten Daten. |
Returns: byte[] - Das dekomprimierte Byte-Array.
encodeByBrotli(byte[] buff, int buffLength)
public static byte[] encodeByBrotli(byte[] buff, int buffLength)
Komprimiert das angegebene Byte-Array mit dem Brotli-Algorithmus.
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| buff | byte[] | Der Eingabepuffer zum Komprimieren. |
| buffLength | int | Die Länge der zu komprimierenden Daten. |
Returns: byte[] - Das komprimierte Byte-Array.
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| arg0 | long | |
| arg1 | int |