Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMismatch = errors.New("checksum mismatch error")
ErrMismatch indicates a checksum verification failure due to a derived checksum not being equal to expected checksum
Functions ¶
func GenerateCRC32 ¶
func GenerateCRC32( payload Marshaler, payloadVersion int32, ) (*persistencespb.Checksum, error)
GenerateCRC32 generates an IEEE crc32 checksum on the serilized byte array of the given thrift object. The serialization proto used will be of type thriftRW
Types ¶
Click to show internal directories.
Click to hide internal directories.