chromium/components/webrtc_logging/common/partial_circular_buffer.cc

// Copyright 2013 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/webrtc_logging/common/partial_circular_buffer.h"

#include <algorithm>
#include <cstring>

#include "base/check_op.h"

namespace webrtc_logging {

PartialCircularBuffer::PartialCircularBuffer(void* buffer, uint32_t buffer_size)
    :{}

PartialCircularBuffer::PartialCircularBuffer(void* buffer,
                                             uint32_t buffer_size,
                                             uint32_t wrap_position,
                                             bool append)
    :{}

uint32_t PartialCircularBuffer::Read(void* buffer, uint32_t buffer_size) {}

void PartialCircularBuffer::Write(const void* buffer, uint32_t buffer_size) {}

void PartialCircularBuffer::DoWrite(const uint8_t* input, uint32_t input_size) {}

}  // namespace webrtc_logging