add a comment for getPayloadCapacity()

This commit is contained in:
Stephen Birarda 2015-07-15 11:02:42 -07:00
parent 95f401fa0f
commit ca3285b0e4

View file

@ -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(); }