def CalculateB64EncodedCrc32cFromContents(fp):
  return _CalculateB64EncodedHashFromContents(
      fp, crcmod.predefined.Crc('crc-32c'))
Calculates a base64 CRC32c checksum of the contents of a seekable stream.
dataset/ETHPy150Open GoogleCloudPlatform/gsutil/gslib/hashing_helper.py/CalculateB64EncodedCrc32cFromContents