diff options
Diffstat (limited to 'core/fxcodec/codec/cfx_codec_memory.h')
-rw-r--r-- | core/fxcodec/codec/cfx_codec_memory.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/fxcodec/codec/cfx_codec_memory.h b/core/fxcodec/codec/cfx_codec_memory.h index 2907e892d2..0d11d41de8 100644 --- a/core/fxcodec/codec/cfx_codec_memory.h +++ b/core/fxcodec/codec/cfx_codec_memory.h @@ -13,6 +13,7 @@ class CFX_CodecMemory final : public Retainable { template <typename T, typename... Args> friend RetainPtr<T> pdfium::MakeRetain(Args&&... args); + pdfium::span<uint8_t> GetSpan() { return buffer_; } uint8_t* GetBuffer() { return buffer_.data(); } size_t GetSize() const { return buffer_.size(); } size_t GetPosition() const { return pos_; } |