Ich versuche Epoch Datetime zu Byte-Array in Python zu konvertieren, aber es kommt als 10 Byte, sollte es in 4 Byte kommen.Konvertieren von Epoch DateTime zu Byte Array in Python
from time import time
curTime = int(time.time())
b = bytearray(str(curTime))
len(b) #comming as 10
Kann jemand helfen, wo ich falsch bin