#include "core/fxcrt/cfx_read_only_vector_stream.h"
#include <utility>
#include "core/fxcrt/cfx_read_only_span_stream.h"
#include "core/fxcrt/span.h"
CFX_ReadOnlyVectorStream::CFX_ReadOnlyVectorStream(DataVector<uint8_t> data)
: … { … }
CFX_ReadOnlyVectorStream::CFX_ReadOnlyVectorStream(
FixedSizeDataVector<uint8_t> data)
: … { … }
CFX_ReadOnlyVectorStream::~CFX_ReadOnlyVectorStream() = default;
FX_FILESIZE CFX_ReadOnlyVectorStream::GetSize() { … }
bool CFX_ReadOnlyVectorStream::ReadBlockAtOffset(pdfium::span<uint8_t> buffer,
FX_FILESIZE offset) { … }