blob: aab49052f5f08f88c918c5bd7a9d83423273529a [file] [log] [blame]
// Copyright 2022 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 "base/strings/abseil_string_number_conversions.h"
#include "base/strings/string_number_conversions_internal.h"
#include "base/strings/string_piece.h"
#include "absl/numeric/int128.h"
namespace gurl_base {
bool StringToUint128(StringPiece input, absl::uint128* output) {
return internal::StringToIntImpl(input, *output);
}
bool HexStringToUInt128(StringPiece input, absl::uint128* output) {
return internal::HexStringToIntImpl(input, *output);
}
} // namespace base