Crc16

Inheritance: java.lang.Object

public class Crc16

Functions for generating the CRC16

Constructors

Constructor Description
Crc16()

Methods

Method Description
equals(Object arg0)
genCrc16(Byte[] c, int nByte) Gens the CRC16.
getClass()
hashCode()
notify()
notifyAll()
toByteList(System.Collections.Generic.List bits) Convert bit list to byte list
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

Crc16()

public Crc16()

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

genCrc16(Byte[] c, int nByte)

public static int genCrc16(Byte[] c, int nByte)

Gens the CRC16. CRC-1021 = X(16)+x(12)+x(5)+1

Parameters:

Parameter Type Description
c java.lang.Byte[] The c.
nByte int The n byte.

Returns: int - ushort CRC16

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()

toByteList(System.Collections.Generic.List bits)

public static System.Collections.Generic.List<Byte> toByteList(System.Collections.Generic.List<Byte> bits)

Convert bit list to byte list

Parameters:

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

Returns: List - yte list

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 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