Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
CFX_CodecMemory Class Referencefinal

#include <cfx_codec_memory.h>

+ Inheritance diagram for CFX_CodecMemory:
+ Collaboration diagram for CFX_CodecMemory:

Public Member Functions

pdfium::span< uint8_t > GetUnconsumedSpan ()
 
pdfium::span< uint8_t > GetBufferSpan ()
 
size_t GetSize () const
 
size_t GetPosition () const
 
bool IsEOF () const
 
size_t ReadBlock (pdfium::span< uint8_t > buffer)
 
bool Seek (size_t pos)
 
bool TryResize (size_t new_buffer_size)
 
void Consume (size_t consumed)
 
- Public Member Functions inherited from fxcrt::Retainable
 Retainable ()=default
 
bool HasOneRef () const
 

Public Attributes

 CONSTRUCT_VIA_MAKE_RETAIN
 

Private Member Functions

 ~CFX_CodecMemory () override
 

Additional Inherited Members

- Protected Member Functions inherited from fxcrt::Retainable
virtual ~Retainable ()=default
 

Detailed Description

Definition at line 14 of file cfx_codec_memory.h.

Member Function Documentation

◆ ~CFX_CodecMemory()

CFX_CodecMemory::~CFX_CodecMemory ( )
overrideprivatedefault

◆ Consume()

void CFX_CodecMemory::Consume ( size_t consumed)

Definition at line 46 of file cfx_codec_memory.cpp.

◆ GetBufferSpan()

pdfium::span< uint8_t > CFX_CodecMemory::GetBufferSpan ( )
inline

Definition at line 23 of file cfx_codec_memory.h.

◆ GetPosition()

size_t CFX_CodecMemory::GetPosition ( ) const
inline

Definition at line 25 of file cfx_codec_memory.h.

◆ GetSize()

size_t CFX_CodecMemory::GetSize ( ) const
inline

Definition at line 24 of file cfx_codec_memory.h.

◆ GetUnconsumedSpan()

pdfium::span< uint8_t > CFX_CodecMemory::GetUnconsumedSpan ( )
inline

Definition at line 19 of file cfx_codec_memory.h.

◆ IsEOF()

bool CFX_CodecMemory::IsEOF ( ) const
inline

Definition at line 26 of file cfx_codec_memory.h.

Referenced by ReadBlock().

+ Here is the caller graph for this function:

◆ ReadBlock()

size_t CFX_CodecMemory::ReadBlock ( pdfium::span< uint8_t > buffer)

Definition at line 24 of file cfx_codec_memory.cpp.

References IsEOF().

+ Here is the call graph for this function:

◆ Seek()

bool CFX_CodecMemory::Seek ( size_t pos)

Definition at line 16 of file cfx_codec_memory.cpp.

◆ TryResize()

bool CFX_CodecMemory::TryResize ( size_t new_buffer_size)

Definition at line 34 of file cfx_codec_memory.cpp.

Member Data Documentation

◆ CONSTRUCT_VIA_MAKE_RETAIN

CFX_CodecMemory::CONSTRUCT_VIA_MAKE_RETAIN

Definition at line 16 of file cfx_codec_memory.h.


The documentation for this class was generated from the following files: