Google Cloud Storage C++ Client  1.42.0
A C++ Client Library for Google Cloud Storage
Public Member Functions | Static Public Member Functions | List of all members
google::cloud::storage::Crc32cChecksumValue Struct Reference

Provide a pre-computed CRC32C checksum value. More...

#include <google/cloud/storage/hashing_options.h>

Public Member Functions

 Crc32cChecksumValue ()=default
 

Static Public Member Functions

static char const * name ()
 

Detailed Description

Provide a pre-computed CRC32C checksum value.

The application may be able to obtain a CRC32C checksum in some out-of-band way. For example, if the object was downloaded from some other cloud storage service, or because the application already queried the GCS object metadata. In these cases, providing the value to the client library improves the end-to-end data integrity verification.

See also
https://sigops.org/s/conferences/hotos/2021/papers/hotos21-s01-hochschild.pdf

Definition at line 92 of file hashing_options.h.

Constructor & Destructor Documentation

◆ Crc32cChecksumValue()

google::cloud::storage::Crc32cChecksumValue::Crc32cChecksumValue ( )
default

Member Function Documentation

◆ name()

static char const* google::cloud::storage::Crc32cChecksumValue::name ( )
inlinestatic

Definition at line 98 of file hashing_options.h.