![]() |
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 20 of file binary_buffer.cpp.
References BinaryBuffer().
Referenced by BinaryBuffer().
|
delete |
|
virtualdefault |
| void fxcrt::BinaryBuffer::AppendDouble | ( | double | value | ) |
Definition at line 119 of file binary_buffer.cpp.
Referenced by fxcrt::TEST().
| void fxcrt::BinaryBuffer::AppendSpan | ( | pdfium::span< const uint8_t > | span | ) |
Definition at line 94 of file binary_buffer.cpp.
| void fxcrt::BinaryBuffer::AppendString | ( | const ByteString & | str | ) |
Definition at line 103 of file binary_buffer.cpp.
Referenced by fxcrt::TEST().
| void fxcrt::BinaryBuffer::AppendUint16 | ( | uint16_t | value | ) |
Definition at line 111 of file binary_buffer.cpp.
Referenced by fxcrt::TEST().
| void fxcrt::BinaryBuffer::AppendUint32 | ( | uint32_t | value | ) |
Definition at line 115 of file binary_buffer.cpp.
Referenced by fxcrt::TEST().
| void fxcrt::BinaryBuffer::AppendUint8 | ( | uint8_t | value | ) |
Definition at line 107 of file binary_buffer.cpp.
Referenced by fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), and fxcrt::TEST().
| void fxcrt::BinaryBuffer::Clear | ( | ) |
Definition at line 65 of file binary_buffer.cpp.
Referenced by CXFA_FMCallExpression::IsBuiltInFunc(), and fxcrt::TEST().
|
protected |
Definition at line 43 of file binary_buffer.cpp.
| DataVector< uint8_t > fxcrt::BinaryBuffer::DetachBuffer | ( | ) |
Definition at line 69 of file binary_buffer.cpp.
| void fxcrt::BinaryBuffer::EstimateSize | ( | size_t | size | ) |
Definition at line 75 of file binary_buffer.cpp.
|
protected |
Definition at line 80 of file binary_buffer.cpp.
|
virtual |
Reimplemented in fxcrt::WideTextBuffer, and WideTextBuffer.
Definition at line 61 of file binary_buffer.cpp.
| pdfium::span< uint8_t > fxcrt::BinaryBuffer::GetMutableSpan | ( | ) |
Definition at line 53 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 57 of file binary_buffer.cpp.
|
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 32 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.