CompressionUtils
محتويات
[
يخفي
]Inheritance: java.lang.Object
public class CompressionUtils
يوفر طرق مساعدة للضغط وفك الضغط.
المنشئات
| منشئ | الوصف |
|---|---|
| CompressionUtils() |
الطرق
| طريقة | الوصف |
|---|---|
| decodeByBrotli(byte[] input) | يفك ضغط مصفوفة البايت المضغوطة بـ Brotli. |
| encodeByBrotli(byte[] buff, int buffLength) | يضغط مصفوفة البايت المعطاة باستخدام خوارزمية Brotli. |
| 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)
يفك ضغط مصفوفة البايت المضغوطة بـ Brotli.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| الإدخال | byte[] | البيانات المضغوطة. |
Returns: byte[] - مصفوفة البايت غير المضغوطة.
encodeByBrotli(byte[] buff, int buffLength)
public static byte[] encodeByBrotli(byte[] buff, int buffLength)
يضغط مصفوفة البايت المعطاة باستخدام خوارزمية Brotli.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| buff | byte[] | مخزن الإدخال للضغط. |
| buffLength | int | طول البيانات المراد ضغطها. |
Returns: byte[] - مصفوفة البايت المضغوطة.
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| 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:
| معامل | نوع | الوصف |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| arg0 | long | |
| arg1 | int |