// Copyright (c) 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "quiche/quic/core/internet_checksum.h" #include <stdint.h> #include <string.h> #include "absl/strings/string_view.h" #include "absl/types/span.h" namespace quic { void InternetChecksum::Update(const char* data, size_t size) { … } void InternetChecksum::Update(const uint8_t* data, size_t size) { … } void InternetChecksum::Update(absl::string_view data) { … } void InternetChecksum::Update(absl::Span<const uint8_t> data) { … } uint16_t InternetChecksum::Value() const { … } } // namespace quic