#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "media/base/byte_queue.h"
#include <algorithm>
#include <cstring>
#include "base/check_op.h"
#include "base/numerics/checked_math.h"
#include "base/process/memory.h"
namespace media {
ByteQueue::ByteQueue() { … }
ByteQueue::~ByteQueue() = default;
void ByteQueue::Reset() { … }
bool ByteQueue::Push(base::span<const uint8_t> data) { … }
void ByteQueue::Peek(const uint8_t** data, int* size) const { … }
void ByteQueue::Pop(int count) { … }
uint8_t* ByteQueue::Front() const { … }
}