1 // Copyright 2017 The Chromium 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 COMPONENTS_ZUCCHINI_CRC32_H_
6 #define COMPONENTS_ZUCCHINI_CRC32_H_
7 
8 #include <stdint.h>
9 
10 namespace zucchini {
11 
12 // Calculates CRC-32 of the given range [|first|, |last|).
13 uint32_t CalculateCrc32(const uint8_t* first, const uint8_t* last);
14 
15 }  // namespace zucchini
16 
17 #endif  // COMPONENTS_ZUCCHINI_CRC32_H_
18