data binary block
More...
#include <fsstream.h>
|
| static bool | headerAvailable (const QByteArray &data) |
| | returns whether
|
| |
| static bool | blockAvailable (const QByteArray &data) |
| | returns whether
|
| |
| static quint16 | nextBlockID (const QByteArray &data) |
| | return next block id in
|
| |
| static bool | headerAvailable (const QByteArray &data) |
| | returns whether
|
| |
| static bool | blockAvailable (const QByteArray &data) |
| | returns whether
|
| |
| static quint16 | nextBlockID (const QByteArray &data) |
| | return next block id in
|
| |
| fs::fsDataBlock::fsDataBlock |
( |
| ) |
|
| fs::fsDataBlock::fsDataBlock |
( |
quint16 |
blockID, |
|
|
quint16 |
version, |
|
|
const QByteArray & |
data |
|
) |
| |
| fs::fsDataBlock::fsDataBlock |
( |
| ) |
|
| fs::fsDataBlock::fsDataBlock |
( |
quint16 |
blockID, |
|
|
quint16 |
version, |
|
|
const QByteArray & |
data |
|
) |
| |
| QByteArray fs::fsDataBlock::encode |
( |
| ) |
|
| bool fs::fsDataBlock::decode |
( |
const QByteArray & |
data | ) |
|
decode the block from the
- Parameters
-
| data | stream - note that |
| data | is not modified, so you need to remove the data block manually |
| bool fs::fsDataBlock::headerAvailable |
( |
const QByteArray & |
data | ) |
|
|
static |
returns whether
- Parameters
-
| data | contains a header |
| data | contains a block header |
| bool fs::fsDataBlock::blockAvailable |
( |
const QByteArray & |
data | ) |
|
|
static |
returns whether
- Parameters
-
| data | contains a full block |
| quint16 fs::fsDataBlock::nextBlockID |
( |
const QByteArray & |
data | ) |
|
|
static |
return next block id in
return next block id
- Parameters
-
| quint32 fs::fsDataBlock::getTotalSize |
( |
| ) |
|
|
inline |
| quint32 fs::fsDataBlock::getBlockSize |
( |
| ) |
|
|
inline |
| QByteArray fs::fsDataBlock::encode |
( |
| ) |
|
| bool fs::fsDataBlock::decode |
( |
const QByteArray & |
data | ) |
|
decode the block from the
- Parameters
-
| data | stream - note that |
| data | is not modified, so you need to remove the data block manually |
| static bool fs::fsDataBlock::headerAvailable |
( |
const QByteArray & |
data | ) |
|
|
static |
returns whether
- Parameters
-
| static bool fs::fsDataBlock::blockAvailable |
( |
const QByteArray & |
data | ) |
|
|
static |
returns whether
- Parameters
-
| data | contains a full block |
| static quint16 fs::fsDataBlock::nextBlockID |
( |
const QByteArray & |
data | ) |
|
|
static |
return next block id in
- Parameters
-
| quint32 fs::fsDataBlock::getTotalSize |
( |
| ) |
|
|
inline |
| quint32 fs::fsDataBlock::getBlockSize |
( |
| ) |
|
|
inline |
| quint16 fs::fsDataBlock::m_blockID |
| quint16 fs::fsDataBlock::m_version |
| QByteArray fs::fsDataBlock::m_data |
The documentation for this class was generated from the following files: