#include "core/fxcrt/binary_buffer.h"
#include <algorithm>
#include <utility>
#include "core/fxcrt/fx_safe_types.h"
#include "core/fxcrt/span_util.h"
#include "core/fxcrt/stl_util.h"
namespace fxcrt {
BinaryBuffer::BinaryBuffer() = default;
BinaryBuffer::BinaryBuffer(BinaryBuffer&& that) noexcept
: … { … }
BinaryBuffer::~BinaryBuffer() = default;
BinaryBuffer& BinaryBuffer::operator=(BinaryBuffer&& that) noexcept { … }
void BinaryBuffer::DeleteBuf(size_t start_index, size_t count) { … }
pdfium::span<uint8_t> BinaryBuffer::GetMutableSpan() { … }
pdfium::span<const uint8_t> BinaryBuffer::GetSpan() const { … }
size_t BinaryBuffer::GetLength() const { … }
void BinaryBuffer::Clear() { … }
DataVector<uint8_t> BinaryBuffer::DetachBuffer() { … }
void BinaryBuffer::EstimateSize(size_t size) { … }
void BinaryBuffer::ExpandBuf(size_t add_size) { … }
void BinaryBuffer::AppendSpan(pdfium::span<const uint8_t> span) { … }
void BinaryBuffer::AppendString(const ByteString& str) { … }
void BinaryBuffer::AppendUint8(uint8_t value) { … }
void BinaryBuffer::AppendUint16(uint16_t value) { … }
void BinaryBuffer::AppendUint32(uint32_t value) { … }
void BinaryBuffer::AppendDouble(double value) { … }
}