getCrc32Hex function

String getCrc32Hex(
  1. List<int> bs
)

Returns the CRC-32 checksum of bs as a lowercase hexadecimal string.

The output is an 8-character hex representation (big-endian).

See also: getCrc32Uint8List, getCrc32.

Implementation

String getCrc32Hex(List<int> bs) {
  final hash = getCrc32Uint8List(bs);
  return _hexEncode(hash);
}