#include "media/base/data_buffer.h"
#include <utility>
namespace media {
DataBuffer::DataBuffer(int buffer_size) : … { … }
DataBuffer::DataBuffer(base::HeapArray<uint8_t> buffer)
: … { … }
DataBuffer::DataBuffer(base::span<const uint8_t> data)
: … { … }
DataBuffer::DataBuffer(DataBufferType data_buffer_type)
: … { … }
DataBuffer::~DataBuffer() = default;
scoped_refptr<DataBuffer> DataBuffer::CopyFrom(base::span<const uint8_t> data) { … }
scoped_refptr<DataBuffer> DataBuffer::CreateEOSBuffer() { … }
}