1 // Copyright 2020 the V8 project authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef V8_SNAPSHOT_SNAPSHOT_UTILS_H_ 6 #define V8_SNAPSHOT_SNAPSHOT_UTILS_H_ 7 8 #include "src/utils/vector.h" 9 10 namespace v8 { 11 namespace internal { 12 13 V8_EXPORT_PRIVATE uint32_t Checksum(Vector<const byte> payload); 14 15 } // namespace internal 16 } // namespace v8 17 18 #endif // V8_SNAPSHOT_SNAPSHOT_UTILS_H_ 19