// Copyright 2019 the V8 project 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 <climits> #include <limits> #include "src/base/logging.h" #include "src/base/vlq-base64.h" namespace v8 { namespace base { namespace { constexpr int8_t kCharToDigit[] = …; constexpr uint32_t kContinueShift = …; constexpr uint32_t kContinueMask = …; constexpr uint32_t kDataMask = …; int8_t charToDigitDecode(uint8_t c) { … } } // namespace int8_t charToDigitDecodeForTesting(uint8_t c) { … } int32_t VLQBase64Decode(const char* start, size_t sz, size_t* pos) { … } } // namespace base } // namespace v8