Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <binary_buffer.h>
Public Member Functions | |
BinaryBuffer () | |
BinaryBuffer (BinaryBuffer &&that) noexcept | |
BinaryBuffer (const BinaryBuffer &that)=delete | |
virtual | ~BinaryBuffer () |
BinaryBuffer & | operator= (BinaryBuffer &&that) noexcept |
BinaryBuffer & | operator= (const BinaryBuffer &that)=delete |
pdfium::span< uint8_t > | GetMutableSpan () |
pdfium::span< const uint8_t > | GetSpan () const |
bool | IsEmpty () const |
size_t | GetSize () const |
virtual size_t | GetLength () const |
void | Clear () |
void | SetAllocStep (size_t step) |
void | EstimateSize (size_t size) |
void | AppendSpan (pdfium::span< const uint8_t > span) |
void | AppendString (const ByteString &str) |
void | AppendUint8 (uint8_t value) |
void | AppendUint16 (uint16_t value) |
void | AppendUint32 (uint32_t value) |
void | AppendDouble (double value) |
DataVector< uint8_t > | DetachBuffer () |
Protected Member Functions | |
void | ExpandBuf (size_t size) |
void | DeleteBuf (size_t start_index, size_t count) |
Protected Attributes | |
size_t | m_AllocStep = 0 |
size_t | m_DataSize = 0 |
DataVector< uint8_t > | m_buffer |
Definition at line 19 of file binary_buffer.h.
|
default |
|
noexcept |
Definition at line 19 of file binary_buffer.cpp.
References BinaryBuffer().
Referenced by BinaryBuffer().
|
delete |
|
virtualdefault |
void fxcrt::BinaryBuffer::AppendDouble | ( | double | value | ) |
Definition at line 118 of file binary_buffer.cpp.
References AppendSpan().
Referenced by fxcrt::TEST().
void fxcrt::BinaryBuffer::AppendSpan | ( | pdfium::span< const uint8_t > | span | ) |
Definition at line 93 of file binary_buffer.cpp.
Referenced by AppendDouble(), AppendString(), AppendUint16(), AppendUint32(), AppendUint8(), fxcrt::TEST(), and fxcrt::TEST().
void fxcrt::BinaryBuffer::AppendString | ( | const ByteString & | str | ) |
Definition at line 102 of file binary_buffer.cpp.
References AppendSpan().
Referenced by fxcrt::TEST().
void fxcrt::BinaryBuffer::AppendUint16 | ( | uint16_t | value | ) |
Definition at line 110 of file binary_buffer.cpp.
References AppendSpan().
Referenced by fxcrt::TEST().
void fxcrt::BinaryBuffer::AppendUint32 | ( | uint32_t | value | ) |
Definition at line 114 of file binary_buffer.cpp.
References AppendSpan().
Referenced by fxcrt::TEST().
void fxcrt::BinaryBuffer::AppendUint8 | ( | uint8_t | value | ) |
Definition at line 106 of file binary_buffer.cpp.
References AppendSpan().
Referenced by fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), and fxcrt::TEST().
void fxcrt::BinaryBuffer::Clear | ( | ) |
Definition at line 64 of file binary_buffer.cpp.
Referenced by CXFA_FMCallExpression::IsBuiltInFunc(), and fxcrt::TEST().
|
protected |
Definition at line 42 of file binary_buffer.cpp.
DataVector< uint8_t > fxcrt::BinaryBuffer::DetachBuffer | ( | ) |
Definition at line 68 of file binary_buffer.cpp.
void fxcrt::BinaryBuffer::EstimateSize | ( | size_t | size | ) |
Definition at line 74 of file binary_buffer.cpp.
|
protected |
Definition at line 79 of file binary_buffer.cpp.
|
virtual |
Reimplemented in fxcrt::WideTextBuffer.
Definition at line 60 of file binary_buffer.cpp.
pdfium::span< uint8_t > fxcrt::BinaryBuffer::GetMutableSpan | ( | ) |
Definition at line 52 of file binary_buffer.cpp.
|
inline |
Definition at line 34 of file binary_buffer.h.
pdfium::span< const uint8_t > fxcrt::BinaryBuffer::GetSpan | ( | ) | const |
Definition at line 56 of file binary_buffer.cpp.
Referenced by fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), and fxcrt::TEST().
|
inline |
Definition at line 33 of file binary_buffer.h.
Referenced by fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), and fxcrt::TEST().
|
noexcept |
Definition at line 31 of file binary_buffer.cpp.
|
delete |
|
inline |
Definition at line 38 of file binary_buffer.h.
|
protected |
Definition at line 54 of file binary_buffer.h.
|
protected |
Definition at line 56 of file binary_buffer.h.
|
protected |
Definition at line 55 of file binary_buffer.h.