public class CRC32
======================================================= Author: liying - liruoer2008@yeah.net Datetime: 2018/11/24 21:48 Description: A class that can be used to compute the CRC-32 of a data stream. Remarks: =======================================================
| 限定符和类型 | 字段和说明 |
|---|---|
static CRC32 |
INSTANCE
=======================================================
Author: liying - liruoer2008@yeah.net
Datetime: 2018/11/24 21:48
Description: A class that can be used to compute the CRC-32 of a data stream.
Remarks:
=======================================================
|
| 限定符和类型 | 方法和说明 |
|---|---|
static java.lang.String |
getValue(java.lang.String data,
java.nio.charset.Charset charset,
int radix)
Get CRC-32 value
|
static java.lang.String |
getValue(java.lang.String data,
java.nio.charset.Charset charset)
Get CRC-32 value
|
static java.lang.String |
getValue(java.lang.String data)
Get CRC-32 value
|
static java.lang.String |
getValue(java.io.File file,
int radix)
Get CRC-32 value
|
static java.lang.String |
getValue(java.io.File file)
Get CRC-32 value
|
public static CRC32 INSTANCE
======================================================= Author: liying - liruoer2008@yeah.net Datetime: 2018/11/24 21:48 Description: A class that can be used to compute the CRC-32 of a data stream. Remarks: =======================================================
@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String getValue(@NotNull
java.lang.String data,
@NotNull
java.nio.charset.Charset charset,
int radix)
Get CRC-32 value
data - Data to calculate the CRC-32 valuecharset - Converts the data from the specified array of bytes to characters using the specified character setradix - @JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String getValue(@NotNull
java.lang.String data,
@NotNull
java.nio.charset.Charset charset)
Get CRC-32 value
data - Data to calculate the CRC-32 valuecharset - Converts the data from the specified array of bytes to characters using the specified character set@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String getValue(@NotNull
java.lang.String data)
Get CRC-32 value
data - Data to calculate the CRC-32 value@JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String getValue(@NotNull
java.io.File file,
int radix)
Get CRC-32 value
file - file to calculate the CRC-32 valueradix - @JvmStatic
@JvmOverloads
@NotNull
public static java.lang.String getValue(@NotNull
java.io.File file)
Get CRC-32 value
file - file to calculate the CRC-32 value