reverted introducing stream

This commit is contained in:
2026-03-29 10:37:49 +02:00
parent 8208edfc46
commit af94c39b3e
8 changed files with 50 additions and 55 deletions
+3 -3
View File
@@ -1,10 +1,10 @@
import time
class MsgContainer:
def __init__(self, name: str, timestamp: float = 0, data = b''):
def __init__(self, data: bytes, name: str = "default", timestamp=time.time()):
self.timestamp : float = timestamp
self.name : str= name
self.data: bytes = data
self.name : str = name
def __str__(self):
return f"{self.timestamp}:{self.name}:{self.data}"