added gpr speed tracking
This commit is contained in:
@@ -48,3 +48,7 @@ class ByteCursor:
|
||||
data = self.payload[self.offset : self.offset + size]
|
||||
self.offset += size
|
||||
return data
|
||||
|
||||
def remaining_bytes(self) -> int:
|
||||
"""Return unread byte count."""
|
||||
return len(self.payload) - self.offset
|
||||
|
||||
Reference in New Issue
Block a user