#include "core/fpdfapi/parser/cpdf_string.h"
#include <stdint.h>
#include <utility>
#include "core/fpdfapi/parser/cpdf_encryptor.h"
#include "core/fpdfapi/parser/fpdf_parser_decode.h"
#include "core/fxcrt/data_vector.h"
#include "core/fxcrt/fx_stream.h"
CPDF_String::CPDF_String() = default;
CPDF_String::CPDF_String(WeakPtr<ByteStringPool> pool,
pdfium::span<const uint8_t> data,
DataType is_hex)
: … { … }
CPDF_String::CPDF_String(WeakPtr<ByteStringPool> pool, const ByteString& str)
: … { … }
CPDF_String::CPDF_String(WeakPtr<ByteStringPool> pool, WideStringView str)
: … { … }
CPDF_String::~CPDF_String() = default;
CPDF_Object::Type CPDF_String::GetType() const { … }
RetainPtr<CPDF_Object> CPDF_String::Clone() const { … }
ByteString CPDF_String::GetString() const { … }
void CPDF_String::SetString(const ByteString& str) { … }
CPDF_String* CPDF_String::AsMutableString() { … }
WideString CPDF_String::GetUnicodeText() const { … }
bool CPDF_String::WriteTo(IFX_ArchiveStream* archive,
const CPDF_Encryptor* encryptor) const { … }
ByteString CPDF_String::EncodeString() const { … }