#include <AbstractByteBuffer.h>
|
| AbstractByteBuffer () |
|
virtual | ~AbstractByteBuffer () |
|
virtual bufsize_t | getContentSize ()=0 |
|
virtual BYTE * | getContent ()=0 |
|
virtual bool | isTruncated () |
|
virtual bool | isResized () |
|
BYTE | operator[] (size_t idx) |
|
virtual offset_t | getOffset (void *ptr, bool allowExceptions=false) |
|
virtual BYTE * | getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false) |
|
virtual BYTE * | getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false) |
|
virtual bool | setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false) |
|
bool | setStringValue (offset_t rawOffset, QString newText) |
|
QString | getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false) |
|
QString | getWStringValue (offset_t rawOffset, bufsize_t len) |
|
QString | getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false) |
|
bufsize_t | getMaxSizeFromOffset (offset_t startOffset) |
|
bufsize_t | getMaxSizeFromPtr (BYTE *ptr) |
|
bool | isAreaEmpty (offset_t rawOffset, bufsize_t size) |
|
bool | fillContent (BYTE filling) |
|
bool | pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc) |
|
bool | containsBlock (offset_t rawOffset, bufsize_t size) |
|
bool | intersectsBlock (offset_t rawOffset, bufsize_t size) |
|
uint64_t | getNumValue (offset_t offset, bufsize_t size, bool *isOk) |
|
bool | setNumValue (offset_t offset, bufsize_t size, uint64_t newVal) |
|
bool | setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0) |
|
virtual bool | resize (bufsize_t newSize) |
|
offset_t | substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn) |
|
Definition at line 31 of file AbstractByteBuffer.h.
◆ AbstractByteBuffer()
AbstractByteBuffer::AbstractByteBuffer |
( |
| ) |
|
|
inline |
◆ ~AbstractByteBuffer()
virtual AbstractByteBuffer::~AbstractByteBuffer |
( |
| ) |
|
|
inlinevirtual |
◆ containsBlock()
◆ fillContent()
bool AbstractByteBuffer::fillContent |
( |
BYTE | filling | ) |
|
◆ getContent()
virtual BYTE * AbstractByteBuffer::getContent |
( |
| ) |
|
|
pure virtual |
◆ getContentAt()
BYTE * AbstractByteBuffer::getContentAt |
( |
offset_t | offset, |
|
|
bufsize_t | size, |
|
|
bool | allowExceptions = false ) |
|
virtual |
◆ getContentAtPtr()
BYTE * AbstractByteBuffer::getContentAtPtr |
( |
BYTE * | ptr, |
|
|
bufsize_t | size, |
|
|
bool | allowExceptions = false ) |
|
virtual |
◆ getContentSize()
virtual bufsize_t AbstractByteBuffer::getContentSize |
( |
| ) |
|
|
pure virtual |
◆ getMaxSizeFromOffset()
◆ getMaxSizeFromPtr()
bufsize_t AbstractByteBuffer::getMaxSizeFromPtr |
( |
BYTE * | ptr | ) |
|
|
inline |
◆ getNumValue()
uint64_t AbstractByteBuffer::getNumValue |
( |
offset_t | offset, |
|
|
bufsize_t | size, |
|
|
bool * | isOk ) |
◆ getOffset()
offset_t AbstractByteBuffer::getOffset |
( |
void * | ptr, |
|
|
bool | allowExceptions = false ) |
|
virtual |
◆ getStringValue()
◆ getWAsciiStringValue()
QString AbstractByteBuffer::getWAsciiStringValue |
( |
offset_t | rawOffset, |
|
|
bufsize_t | len, |
|
|
bool | acceptNonTerminated = false ) |
◆ getWStringValue()
◆ intersectsBlock()
◆ isAreaEmpty()
◆ isResized()
virtual bool AbstractByteBuffer::isResized |
( |
| ) |
|
|
inlinevirtual |
◆ isTruncated()
virtual bool AbstractByteBuffer::isTruncated |
( |
| ) |
|
|
inlinevirtual |
◆ isValid()
◆ operator[]()
BYTE AbstractByteBuffer::operator[] |
( |
size_t | idx | ) |
|
◆ pasteBuffer()
◆ resize()
virtual bool AbstractByteBuffer::resize |
( |
bufsize_t | newSize | ) |
|
|
inlinevirtual |
◆ setBufferedValue()
bool AbstractByteBuffer::setBufferedValue |
( |
BYTE * | dstPtr, |
|
|
BYTE * | srcPtr, |
|
|
bufsize_t | srcSize, |
|
|
bufsize_t | paddingSize, |
|
|
bool | allowExceptions = false ) |
|
virtual |
◆ setNumValue()
bool AbstractByteBuffer::setNumValue |
( |
offset_t | offset, |
|
|
bufsize_t | size, |
|
|
uint64_t | newVal ) |
◆ setStringValue()
bool AbstractByteBuffer::setStringValue |
( |
offset_t | rawOffset, |
|
|
QString | newText ) |
◆ setTextValue()
bool AbstractByteBuffer::setTextValue |
( |
char * | textPtr, |
|
|
std::string | newText, |
|
|
size_t | fieldLimitLen = 0 ) |
◆ substFragmentByFile()
The documentation for this class was generated from the following files: