mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
add a comment for getPayloadCapacity()
This commit is contained in:
parent
95f401fa0f
commit
ca3285b0e4
1 changed files with 2 additions and 1 deletions
|
@ -57,7 +57,8 @@ public:
|
|||
|
||||
// Allows a writer to change the size of the payload used when writing directly
|
||||
void setPayloadSize(qint64 payloadSize);
|
||||
|
||||
|
||||
// Returns the number of bytes allocated for the payload
|
||||
qint64 getPayloadCapacity() const { return _payloadCapacity; }
|
||||
|
||||
qint64 bytesLeftToRead() const { return _payloadCapacity - pos(); }
|
||||
|
|
Loading…
Reference in a new issue