I want to read as many as 24 bits of fragments from a file. How to do this using ConstBitStream bitstrons
when I'm not right now, how many pieces are there?
I am currently doing this:
eventList = ConstBitStream(filename = 'events.dat')
for i in range(1000) :
packet = eventList.read(24)
(here I have to calculate the number of events in advance)
source
share