BitsEncodeHelper

Inheritance: java.lang.Object

public class BitsEncodeHelper

Constructors

Constructor Description
BitsEncodeHelper()

Methods

Method Description
bytesToString(System.Collections.Generic.List bytes) Converts a list of bytes to string.
equals(Object arg0)
getClass()
hashCode()
notify()
notifyAll()
packBitArrayToBytes(boolean[] aBitArray, int aBitCount)
packBitArrayToBytes(byte[] aBitArray, int aBitCount)
packBitArrayToBytes(Byte[] aBitArray, int aBitCount)
packBitArrayToInt(byte[] aBitArray, int aBitCount, int Def)
packBitArrayToInts(byte[] aBitArray, int aBitCount)
toString()
unpackIntToBitArray(int aValue, int aBitCount)
wait()
wait(long arg0)
wait(long arg0, int arg1)

BitsEncodeHelper()

public BitsEncodeHelper()

bytesToString(System.Collections.Generic.List bytes)

public static String bytesToString(System.Collections.Generic.List<Byte> bytes)

Converts a list of bytes to string.

Parameters:

Parameter Type Description
bytes com.aspose.ms.System.Collections.Generic.List<java.lang.Byte> bit list

Returns: java.lang.String - converted string value

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
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()

packBitArrayToBytes(boolean[] aBitArray, int aBitCount)

public static byte[] packBitArrayToBytes(boolean[] aBitArray, int aBitCount)

Parameters:

Parameter Type Description
aBitArray boolean[]
aBitCount int

Returns: byte[]

packBitArrayToBytes(byte[] aBitArray, int aBitCount)

public static System.Collections.Generic.List<Byte> packBitArrayToBytes(byte[] aBitArray, int aBitCount)

Parameters:

Parameter Type Description
aBitArray byte[]
aBitCount int

Returns: List

packBitArrayToBytes(Byte[] aBitArray, int aBitCount)

public static System.Collections.Generic.List<Byte> packBitArrayToBytes(Byte[] aBitArray, int aBitCount)

Parameters:

Parameter Type Description
aBitArray java.lang.Byte[]
aBitCount int

Returns: List

packBitArrayToInt(byte[] aBitArray, int aBitCount, int Def)

public static int packBitArrayToInt(byte[] aBitArray, int aBitCount, int Def)

Parameters:

Parameter Type Description
aBitArray byte[]
aBitCount int
Def int

Returns: int

packBitArrayToInts(byte[] aBitArray, int aBitCount)

public static System.Collections.Generic.List<Integer> packBitArrayToInts(byte[] aBitArray, int aBitCount)

Parameters:

Parameter Type Description
aBitArray byte[]
aBitCount int

Returns: List

toString()

public String toString()

Returns: java.lang.String

unpackIntToBitArray(int aValue, int aBitCount)

public static byte[] unpackIntToBitArray(int aValue, int aBitCount)

Parameters:

Parameter Type Description
aValue int
aBitCount int

Returns: byte[]

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

Parameter Type Description
arg0 long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

Parameter Type Description
arg0 long
arg1 int