chromium/components/ukm/bitset.cc

// Copyright 2024 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/ukm/bitset.h"

#include <cstring>

#include "base/check_op.h"

namespace ukm {

BitSet::BitSet(size_t set_size) :{}

BitSet::BitSet(size_t set_size, std::string_view data) :{}

BitSet::~BitSet() = default;

void BitSet::Add(size_t index) {}

bool BitSet::Contains(size_t index) const {}

std::string BitSet::Serialize() const {}

size_t BitSet::ToInternalIndex(size_t index) const {}

uint8_t BitSet::ToBitmask(size_t index) const {}

}  // namespace ukm