[SCM] kodi-pvr-vdr-vnsi/master: responsepacket: add method getRemainingLength()
tiber-guest at users.alioth.debian.org
tiber-guest at users.alioth.debian.org
Sun Feb 28 15:46:47 UTC 2016
The following commit has been merged in the master branch:
commit 63e84dd5acb0a0d68c2c950207a443cbc8b9783a
Author: Max Kellermann <max at duempel.org>
Date: Wed Nov 4 20:47:48 2015 +0100
responsepacket: add method getRemainingLength()
diff --git a/src/responsepacket.h b/src/responsepacket.h
index af014d1..939f9f1 100644
--- a/src/responsepacket.h
+++ b/src/responsepacket.h
@@ -54,6 +54,10 @@ class cResponsePacket
uint32_t getPacketPos() { return packetPos; }
+ size_t getRemainingLength() const {
+ return userDataLength - packetPos;
+ }
+
char* extract_String();
uint8_t extract_U8();
uint32_t extract_U32();
--
kodi-pvr-vdr-vnsi packaging
More information about the pkg-multimedia-commits
mailing list