CRC-32 computations.
More...
|
static int | Bytes (const bvec_t &data) |
| Compute CRC-32 checksum for byte data. More...
|
|
static int | File (const std::string &fileName) |
| Compute CRC-32 checksum for a file. More...
|
|
static int | String (const std::string &s) |
| Compute CRC-32 checksum for a string. More...
|
|
◆ Bytes()
static int crsysapi::Crc::Bytes |
( |
const bvec_t & |
data | ) |
|
|
static |
Compute CRC-32 checksum for byte data.
- Parameters
-
data | input data as a byte array |
- Returns
- Value of CRC-32 checksum
◆ File()
static int crsysapi::Crc::File |
( |
const std::string & |
fileName | ) |
|
|
static |
Compute CRC-32 checksum for a file.
- Parameters
-
fileName | Name of input file |
- Returns
- Value of CRC-32 checksum
◆ String()
static int crsysapi::Crc::String |
( |
const std::string & |
s | ) |
|
|
static |
Compute CRC-32 checksum for a string.
- Parameters
-
- Returns
- Value of CRC-32 checksum