#include "core/fpdfapi/parser/cpdf_stream_acc.h"
#include <utility>
#include "core/fdrm/fx_crypt.h"
#include "core/fpdfapi/parser/cpdf_dictionary.h"
#include "core/fpdfapi/parser/cpdf_stream.h"
#include "core/fpdfapi/parser/fpdf_parser_decode.h"
#include "core/fxcrt/check_op.h"
#include "core/fxcrt/compiler_specific.h"
#include "core/fxcrt/data_vector.h"
CPDF_StreamAcc::CPDF_StreamAcc(RetainPtr<const CPDF_Stream> pStream)
: … { … }
CPDF_StreamAcc::~CPDF_StreamAcc() = default;
void CPDF_StreamAcc::LoadAllData(bool bRawAccess,
uint32_t estimated_size,
bool bImageAcc) { … }
void CPDF_StreamAcc::LoadAllDataFiltered() { … }
void CPDF_StreamAcc::LoadAllDataFilteredWithEstimatedSize(
uint32_t estimated_size) { … }
void CPDF_StreamAcc::LoadAllDataImageAcc(uint32_t estimated_size) { … }
void CPDF_StreamAcc::LoadAllDataRaw() { … }
RetainPtr<const CPDF_Stream> CPDF_StreamAcc::GetStream() const { … }
int CPDF_StreamAcc::GetLength1ForTest() const { … }
RetainPtr<const CPDF_Dictionary> CPDF_StreamAcc::GetImageParam() const { … }
uint32_t CPDF_StreamAcc::GetSize() const { … }
pdfium::span<const uint8_t> CPDF_StreamAcc::GetSpan() const { … }
uint64_t CPDF_StreamAcc::KeyForCache() const { … }
DataVector<uint8_t> CPDF_StreamAcc::ComputeDigest() const { … }
DataVector<uint8_t> CPDF_StreamAcc::DetachData() { … }
void CPDF_StreamAcc::ProcessRawData() { … }
void CPDF_StreamAcc::ProcessFilteredData(uint32_t estimated_size,
bool bImageAcc) { … }
DataVector<uint8_t> CPDF_StreamAcc::ReadRawStream() const { … }