// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifdef UNSAFE_BUFFERS_BUILD // TODO(crbug.com/40285824): Remove this and convert code to safer constructs. #pragma allow_unsafe_buffers #endif #include "components/services/storage/indexed_db/scopes/varint_coding.h" #include "base/check_op.h" namespace content { void EncodeVarInt(int64_t from, std::string* into) { … } bool DecodeVarInt(std::string_view* from, int64_t* into) { … } } // namespace content